From 83525e57300dc472c6e658a1f78e6a9255480afe Mon Sep 17 00:00:00 2001 From: shhnwz Date: Mon, 29 Jul 2024 14:27:51 +0530 Subject: [PATCH 1/8] using tembo forked parquet_s3_fdw --- dw-cnpg/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 9e8d71a..1397f11 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -35,9 +35,9 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Clone and build parquet_s3_fdw -RUN git clone https://github.com/pgspider/parquet_s3_fdw.git && \ +RUN git clone https://github.com/tembo/parquet_s3_fdw.git && \ cd parquet_s3_fdw && \ - git checkout v1.1.0 && \ + git checkout v1.0.0 && \ make USE_PGXS=1 install && \ cd .. && rm -rf parquet_s3_fdw From aa55dbba262c594de5f4f808d60c0758ccc2828d Mon Sep 17 00:00:00 2001 From: shhnwz Date: Mon, 29 Jul 2024 14:39:39 +0530 Subject: [PATCH 2/8] fixed url --- dw-cnpg/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 1397f11..79897d0 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -35,7 +35,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Clone and build parquet_s3_fdw -RUN git clone https://github.com/tembo/parquet_s3_fdw.git && \ +RUN git clone https://github.com/tembo-io/parquet_s3_fdw.git && \ cd parquet_s3_fdw && \ git checkout v1.0.0 && \ make USE_PGXS=1 install && \ From ed56f0cb9a8498880c720785554dc058acc57c76 Mon Sep 17 00:00:00 2001 From: shhnwz Date: Fri, 2 Aug 2024 22:32:58 +0530 Subject: [PATCH 3/8] Building parquet_s3 from master --- dw-cnpg/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 79897d0..b3b5dd4 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -1,5 +1,5 @@ ARG PG_VERSION=15 -ARG TAG=latest +ARG TAG=4252623 FROM quay.io/tembo/standard-cnpg:${PG_VERSION}-${TAG} USER root @@ -37,7 +37,6 @@ RUN apt-get update && apt-get install -y \ # Clone and build parquet_s3_fdw RUN git clone https://github.com/tembo-io/parquet_s3_fdw.git && \ cd parquet_s3_fdw && \ - git checkout v1.0.0 && \ make USE_PGXS=1 install && \ cd .. && rm -rf parquet_s3_fdw From 89dfc79888ac781b04509cf4b18fb581cf33aa9a Mon Sep 17 00:00:00 2001 From: shhnwz Date: Mon, 5 Aug 2024 11:05:03 +0530 Subject: [PATCH 4/8] rebuild dw image --- dw-cnpg/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index b3b5dd4..86a6b8b 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -40,6 +40,7 @@ RUN git clone https://github.com/tembo-io/parquet_s3_fdw.git && \ make USE_PGXS=1 install && \ cd .. && rm -rf parquet_s3_fdw + # cache all extensions RUN set -eux; \ cp -r $(pg_config --pkglibdir)/* /tmp/pg_pkglibdir; \ From f401f7506096079b8e16ab48d470dd288c68afe3 Mon Sep 17 00:00:00 2001 From: Mohammed Shahnawaz Date: Tue, 6 Aug 2024 20:09:17 +0530 Subject: [PATCH 5/8] Update Dockerfile --- dw-cnpg/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 86a6b8b..98fbfd8 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -6,6 +6,7 @@ USER root WORKDIR / + # Install build dependencies for parquet_s3_fdw and its dependent libraries RUN apt-get update && apt-get install -y \ automake \ From b1ab1fe6d98925f195c39afe07b9de0f92065825 Mon Sep 17 00:00:00 2001 From: Mohammed Shahnawaz Date: Tue, 6 Aug 2024 20:52:08 +0530 Subject: [PATCH 6/8] Update Dockerfile --- dw-cnpg/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 98fbfd8..86a6b8b 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -6,7 +6,6 @@ USER root WORKDIR / - # Install build dependencies for parquet_s3_fdw and its dependent libraries RUN apt-get update && apt-get install -y \ automake \ From e8b9edeb2b51c9f6a7989ea9cc464f2bdd43b790 Mon Sep 17 00:00:00 2001 From: shhnwz Date: Fri, 9 Aug 2024 16:02:19 +0530 Subject: [PATCH 7/8] Introduced tembo_parquet_s3_fdw --- dw-cnpg/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 86a6b8b..94ebb81 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -35,11 +35,11 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Clone and build parquet_s3_fdw -RUN git clone https://github.com/tembo-io/parquet_s3_fdw.git && \ - cd parquet_s3_fdw && \ +RUN git clone https://github.com/tembo-io/tembo_parquet_s3_fdw.git && \ + cd tembo_parquet_s3_fdw && \ + git checkout v1.1.4 && \ make USE_PGXS=1 install && \ - cd .. && rm -rf parquet_s3_fdw - + cd .. && rm -rf tembo_parquet_s3_fdw # cache all extensions RUN set -eux; \ From 44e24a193a6844b2656997005c7878cda55dd727 Mon Sep 17 00:00:00 2001 From: shhnwz Date: Mon, 12 Aug 2024 23:24:29 +0530 Subject: [PATCH 8/8] Review comment about TAG --- dw-cnpg/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dw-cnpg/Dockerfile b/dw-cnpg/Dockerfile index 94ebb81..1231ef8 100644 --- a/dw-cnpg/Dockerfile +++ b/dw-cnpg/Dockerfile @@ -1,5 +1,5 @@ ARG PG_VERSION=15 -ARG TAG=4252623 +ARG TAG=latest FROM quay.io/tembo/standard-cnpg:${PG_VERSION}-${TAG} USER root