-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathdbt_project.yml
More file actions
134 lines (131 loc) · 8.2 KB
/
dbt_project.yml
File metadata and controls
134 lines (131 loc) · 8.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
name: 'shopify'
version: '1.5.2'
config-version: 2
require-dbt-version: [">=1.3.0", "<3.0.0"]
models:
shopify:
+schema: shopify
+materialized: table
rest:
intermediate:
+materialized: ephemeral
int_shopify__customer_email_rollup:
+materialized: view # so we can use the dbt_utils.star macro
staging:
+schema: stg_shopify
+materialized: view
stg_shopify__metafield:
+materialized: table
graphql:
intermediate:
+materialized: ephemeral
int_shopify_gql__customer_email_rollup:
+materialized: view # so we can use the dbt_utils.star macro
base:
+materialized: ephemeral
int_shopify_gql__customer:
+materialized: view # so we can use the dbt_utils.star and dbt_utils.get_column_values macros
int_shopify_gql__collection:
+materialized: view # so we can use the dbt_utils.star and dbt_utils.get_column_values macros
int_shopify_gql__order:
+materialized: view # so we can use the dbt_utils.star and dbt_utils.get_column_values macros
int_shopify_gql__product_variant:
+materialized: view # so we can use the dbt_utils.star and dbt_utils.get_column_values macros
staging:
+schema: stg_shopify
+materialized: view
stg_shopify_gql__metafield:
+materialized: table
vars:
shopify:
customer_source: "{{ source('shopify','customer') }}"
order_line_refund_source: "{{ source('shopify','order_line_refund') }}"
order_line_source: "{{ source('shopify','order_line') }}"
order_source: "{{ source('shopify','order') }}"
product_source: "{{ source('shopify','product') }}"
product_variant_source: "{{ source('shopify','product_variant') }}"
transaction_source: "{{ source('shopify','transaction') }}"
refund_source: "{{ source('shopify','refund') }}"
order_adjustment_source: "{{ source('shopify','order_adjustment') }}"
abandoned_checkout_source: "{{ source('shopify','abandoned_checkout') }}"
collection_product_source: "{{ source('shopify','collection_product') }}"
collection_source: "{{ source('shopify','collection') }}"
customer_tag_source: "{{ source('shopify','customer_tag') }}"
discount_allocation_source: "{{ source('shopify','discount_allocation') }}"
discount_application_source: "{{ source('shopify','discount_application') }}"
discount_code_app_source: "{{ source('shopify','discount_code_app') }}"
discount_code_basic_source: "{{ source('shopify','discount_code_basic') }}"
discount_code_bxgy_source: "{{ source('shopify','discount_code_bxgy') }}"
discount_code_free_shipping_source: "{{ source('shopify','discount_code_free_shipping') }}"
discount_redeem_code_source: "{{ source('shopify','discount_redeem_code') }}"
fulfillment_source: "{{ source('shopify','fulfillment') }}"
inventory_item_source: "{{ source('shopify','inventory_item') }}"
inventory_level_source: "{{ source('shopify','inventory_level') }}"
inventory_quantity_source: "{{ source('shopify','inventory_quantity') }}"
location_source: "{{ source('shopify','location') }}"
media_source: "{{ source('shopify','media') }}"
media_image_source: "{{ source('shopify','media_image') }}"
metafield_source: "{{ source('shopify','metafield') }}"
order_note_attribute_source: "{{ source('shopify','order_note_attribute') }}"
order_shipping_line_source: "{{ source('shopify','order_shipping_line') }}"
order_shipping_tax_line_source: "{{ source('shopify','order_shipping_tax_line') }}"
order_tag_source: "{{ source('shopify','order_tag') }}"
order_url_tag_source: "{{ source('shopify','order_url_tag') }}"
product_media_source: "{{ source('shopify','product_media') }}"
product_variant_media_source: "{{ source('shopify','product_variant_media') }}"
product_tag_source: "{{ source('shopify','product_tag') }}"
shop_source: "{{ source('shopify','shop') }}"
tender_transaction_source: "{{ source('shopify','tender_transaction') }}"
abandoned_checkout_discount_code_source: "{{ source('shopify','abandoned_checkout_discount_code') }}"
order_discount_code_source: "{{ source('shopify','order_discount_code') }}"
abandoned_checkout_shipping_line_source: "{{ source('shopify', 'abandoned_checkout_shipping_line') }}"
fulfillment_event_source: "{{ source('shopify', 'fulfillment_event') }}"
tax_line_source: "{{ source('shopify', 'tax_line') }}"
gql_abandoned_checkout_source: "{{ source('shopify_graphql','abandoned_checkout') }}"
gql_collection_product_source: "{{ source('shopify_graphql','collection_product') }}"
gql_collection_source: "{{ source('shopify_graphql','collection') }}"
gql_customer_tag_source: "{{ source('shopify_graphql','customer_tag') }}"
gql_discount_allocation_source: "{{ source('shopify_graphql','discount_allocation') }}"
gql_discount_application_source: "{{ source('shopify_graphql','discount_application') }}"
gql_discount_code_app_source: "{{ source('shopify_graphql','discount_code_app') }}"
gql_discount_code_basic_source: "{{ source('shopify_graphql','discount_code_basic') }}"
gql_discount_code_bxgy_source: "{{ source('shopify_graphql','discount_code_bxgy') }}"
gql_discount_code_free_shipping_source: "{{ source('shopify_graphql','discount_code_free_shipping') }}"
gql_discount_redeem_code_source: "{{ source('shopify_graphql','discount_redeem_code') }}"
gql_fulfillment_source: "{{ source('shopify_graphql','fulfillment') }}"
gql_inventory_item_source: "{{ source('shopify_graphql','inventory_item') }}"
gql_inventory_level_source: "{{ source('shopify_graphql','inventory_level') }}"
gql_inventory_quantity_source: "{{ source('shopify_graphql','inventory_quantity') }}"
gql_location_source: "{{ source('shopify_graphql','location') }}"
gql_media_source: "{{ source('shopify_graphql','media') }}"
gql_media_image_source: "{{ source('shopify_graphql','media_image') }}"
gql_metafield_source: "{{ source('shopify_graphql','metafield') }}"
gql_order_line_refund_source: "{{ source('shopify_graphql','order_line_refund') }}"
gql_refund_line_item_source: "{{ source('shopify_graphql','refund_line_item') }}"
gql_order_note_attribute_source: "{{ source('shopify_graphql','order_note_attribute') }}"
gql_order_custom_attribute_source: "{{ source('shopify_graphql','order_custom_attribute') }}"
gql_order_shipping_line_source: "{{ source('shopify_graphql','order_shipping_line') }}"
gql_order_shipping_tax_line_source: "{{ source('shopify_graphql','order_shipping_tax_line') }}"
gql_order_tag_source: "{{ source('shopify_graphql','order_tag') }}"
gql_product_media_source: "{{ source('shopify_graphql','product_media') }}"
gql_product_variant_media_source: "{{ source('shopify_graphql','product_variant_media') }}"
gql_product_tag_source: "{{ source('shopify_graphql','product_tag') }}"
gql_shop_source: "{{ source('shopify_graphql','shop') }}"
gql_tender_transaction_source: "{{ source('shopify_graphql','tender_transaction') }}"
gql_abandoned_checkout_discount_code_source: "{{ source('shopify_graphql','abandoned_checkout_discount_code') }}"
gql_order_discount_code_source: "{{ source('shopify_graphql','order_discount_code') }}"
gql_fulfillment_event_source: "{{ source('shopify_graphql', 'fulfillment_event') }}"
gql_tax_line_source: "{{ source('shopify_graphql', 'tax_line') }}"
gql_order_line_tax_line_source: "{{ source('shopify_graphql', 'order_line_tax_line') }}"
gql_fulfillment_tracking_info_source: "{{ source('shopify_graphql', 'fulfillment_tracking_info') }}"
gql_fulfillment_order_line_item_source: "{{ source('shopify_graphql', 'fulfillment_order_line_item') }}"
gql_customer_visit_source: "{{ source('shopify_graphql', 'customer_visit') }}"
gql_customer_address_source: "{{ source('shopify_graphql', 'customer_address') }}"
gql_collection_rule_source: "{{ source('shopify_graphql', 'collection_rule') }}"
customer_pass_through_columns: []
order_line_refund_pass_through_columns: []
order_line_pass_through_columns: []
order_pass_through_columns: []
product_pass_through_columns: []
product_variant_pass_through_columns: []
transaction_pass_through_columns: []