Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

model maintenance #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
11 changes: 5 additions & 6 deletions demo/models/staging/stg_payments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ 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

)

select * from renamed
select * from renamed