From b0c3479cd0af24c082d16b20adab918494f68537 Mon Sep 17 00:00:00 2001 From: Marcelo Costa Date: Tue, 16 Nov 2021 18:56:46 -0300 Subject: [PATCH 1/4] model maintenance --- demo/models/staging/stg_payments.sql | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/demo/models/staging/stg_payments.sql b/demo/models/staging/stg_payments.sql index 9e1a4a3..c698612 100644 --- a/demo/models/staging/stg_payments.sql +++ b/demo/models/staging/stg_payments.sql @@ -13,11 +13,8 @@ renamed as ( select id as payment_id, payment_method, - order_id, - -- just a comment this time, nothing to worry about - --`amount` is currently stored in cents, so we convert it to dollars - amount / 100 as amount - + order_id + -- opsssss removed a column by mistake, I wonder if the reviewer will notice it!!!!!! from source ) From 859e65062151215e790950450fd290ed9bab3e14 Mon Sep 17 00:00:00 2001 From: Marcelo Costa Date: Fri, 26 May 2023 18:32:10 -0300 Subject: [PATCH 2/4] Update stg_payments.sql --- demo/models/staging/stg_payments.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/models/staging/stg_payments.sql b/demo/models/staging/stg_payments.sql index c698612..12e1a63 100644 --- a/demo/models/staging/stg_payments.sql +++ b/demo/models/staging/stg_payments.sql @@ -14,9 +14,10 @@ renamed as ( id as payment_id, payment_method, order_id + -- -- opsssss removed a column by mistake, I wonder if the reviewer will notice it!!!!!! from source ) -select * from renamed \ No newline at end of file +select * from renamed From b48312623098f8379976040bfd6ad0b466f61beb Mon Sep 17 00:00:00 2001 From: Marcelo Costa Date: Mon, 29 May 2023 16:35:40 -0300 Subject: [PATCH 3/4] Update stg_payments.sql --- demo/models/staging/stg_payments.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/models/staging/stg_payments.sql b/demo/models/staging/stg_payments.sql index 12e1a63..e5ebb06 100644 --- a/demo/models/staging/stg_payments.sql +++ b/demo/models/staging/stg_payments.sql @@ -15,6 +15,7 @@ renamed as ( payment_method, order_id -- + -- -- opsssss removed a column by mistake, I wonder if the reviewer will notice it!!!!!! from source From 7e98707184b47b55a7bd0870cd7ffb5b89a06ae4 Mon Sep 17 00:00:00 2001 From: Marcelo Costa Date: Mon, 29 May 2023 16:42:05 -0300 Subject: [PATCH 4/4] Update main.yaml --- .github/workflows/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c0029cc..731b87a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,6 +10,7 @@ jobs: ALVIN_API_TOKEN: ${{ secrets.ALVIN_API_TOKEN }} ALVIN_PLATFORM_ID: ${{ secrets.ALVIN_PLATFORM_ID }} DBT_PROFILES_DIR: ${{ secrets.DBT_PROFILES_DIR }} + DBT_PROJECT_DIR: ${{ secrets.DBT_PROJECT_DIR }} DBT_ROOT_DIR: ${{ secrets.DBT_ROOT_DIR }} DBT_TARGET: ${{ secrets.DBT_TARGET}} DIALECT: ${{ secrets.DIALECT }}