diff --git a/tasty_bytes_dbt_demo/examples/dbt_sandbox.sql b/tasty_bytes_dbt_demo/examples/dbt_sandbox.sql new file mode 100644 index 0000000..ff2e5ed --- /dev/null +++ b/tasty_bytes_dbt_demo/examples/dbt_sandbox.sql @@ -0,0 +1,3 @@ +show tables in database tasty_bytes_dbt_db; + +SHOW VIEWS IN DATABASE tasty_bytes_dbt_db; \ No newline at end of file diff --git a/tasty_bytes_dbt_demo/models/marts/customer_loyalty_metrics.sql b/tasty_bytes_dbt_demo/models/marts/customer_loyalty_metrics.sql index 8660f00..0d4906f 100644 --- a/tasty_bytes_dbt_demo/models/marts/customer_loyalty_metrics.sql +++ b/tasty_bytes_dbt_demo/models/marts/customer_loyalty_metrics.sql @@ -1,4 +1,5 @@ -SELECT +-- add a change +SELECT cl.customer_id, cl.city, cl.country, diff --git a/tasty_bytes_dbt_demo/models/staging/raw_pos_country.sql b/tasty_bytes_dbt_demo/models/staging/raw_pos_country.sql index 3d1e126..df14b5f 100644 --- a/tasty_bytes_dbt_demo/models/staging/raw_pos_country.sql +++ b/tasty_bytes_dbt_demo/models/staging/raw_pos_country.sql @@ -1,2 +1,3 @@ +-- Add a comment here so I can push the branch SELECT * FROM {{ source('tb_101', 'COUNTRY') }} diff --git a/tasty_bytes_dbt_demo/setup/tasty_bytes_setup.sql b/tasty_bytes_dbt_demo/setup/tasty_bytes_setup.sql index 29c19dc..d35d67b 100644 --- a/tasty_bytes_dbt_demo/setup/tasty_bytes_setup.sql +++ b/tasty_bytes_dbt_demo/setup/tasty_bytes_setup.sql @@ -1,12 +1,12 @@ USE ROLE accountadmin; -CREATE OR REPLACE WAREHOUSE tasty_bytes_dbt_wh - WAREHOUSE_SIZE = 'small' - WAREHOUSE_TYPE = 'standard' - AUTO_SUSPEND = 60 - AUTO_RESUME = TRUE - INITIALLY_SUSPENDED = TRUE - COMMENT = 'warehouse for tasty bytes dbt demo'; +-- CREATE OR REPLACE WAREHOUSE tasty_bytes_dbt_wh +-- WAREHOUSE_SIZE = 'small' +-- WAREHOUSE_TYPE = 'standard' +-- AUTO_SUSPEND = 60 +-- AUTO_RESUME = TRUE +-- INITIALLY_SUSPENDED = TRUE +-- COMMENT = 'warehouse for tasty bytes dbt demo'; USE WAREHOUSE tasty_bytes_dbt_wh; @@ -24,10 +24,10 @@ ALTER SCHEMA tasty_bytes_dbt_db.prod SET LOG_LEVEL = 'INFO'; ALTER SCHEMA tasty_bytes_dbt_db.prod SET TRACE_LEVEL = 'ALWAYS'; ALTER SCHEMA tasty_bytes_dbt_db.prod SET METRIC_LEVEL = 'ALL'; -CREATE OR REPLACE API INTEGRATION git_integration - API_PROVIDER = git_https_api - API_ALLOWED_PREFIXES = ('https://github.com/') - ENABLED = TRUE; +-- CREATE OR REPLACE API INTEGRATION git_integration +-- API_PROVIDER = git_https_api +-- API_ALLOWED_PREFIXES = ('https://github.com/') +-- ENABLED = TRUE; CREATE OR REPLACE FILE FORMAT tasty_bytes_dbt_db.public.csv_ff type = 'csv';