File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -50,33 +50,30 @@ jobs:
5050 models:
5151 - name: customers
5252 description: "Test customer model"
53- tags:
54- - critical
55- - customer
56- config:
57- materialized: table
5853 - name: orders
5954 description: "Test orders model"
60- tags:
61- - critical
62- config:
63- materialized: table
6455 - name: users
6556 description: "Test users model"
66- tags:
67- - user
68- config:
69- materialized: view
7057 EOF
7158
7259 cat > models/customers.sql << 'EOF'
60+ {{ config(
61+ materialized='table',
62+ tags=['critical', 'customer']
63+ ) }}
64+
7365 SELECT
7466 1 as customer_id,
75677668 '2024-01-01'::date as registration_date
7769 EOF
7870
7971 cat > models/orders.sql << 'EOF'
72+ {{ config(
73+ materialized='table',
74+ tags=['critical']
75+ ) }}
76+
8077 SELECT
8178 1 as order_id,
8279 1 as customer_id,
8582 EOF
8683
8784 cat > models/users.sql << 'EOF'
85+ {{ config(
86+ materialized='view',
87+ tags=['user']
88+ ) }}
89+
8890 SELECT
8991 1 as user_id,
9092 'test_user' as username
You can’t perform that action at this time.
0 commit comments