Skip to content
Open

Test #21

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
3 changes: 3 additions & 0 deletions tasty_bytes_dbt_demo/examples/dbt_sandbox.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
show tables in database tasty_bytes_dbt_db;

SHOW VIEWS IN DATABASE tasty_bytes_dbt_db;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SELECT
-- add a change
SELECT
cl.customer_id,
cl.city,
cl.country,
Expand Down
1 change: 1 addition & 0 deletions tasty_bytes_dbt_demo/models/staging/raw_pos_country.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-- Add a comment here so I can push the branch
SELECT *
FROM {{ source('tb_101', 'COUNTRY') }}
22 changes: 11 additions & 11 deletions tasty_bytes_dbt_demo/setup/tasty_bytes_setup.sql
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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';
Expand Down