File tree Expand file tree Collapse file tree 8 files changed +75
-7
lines changed Expand file tree Collapse file tree 8 files changed +75
-7
lines changed Original file line number Diff line number Diff line change
1
+ .env
Original file line number Diff line number Diff line change 1
1
unique_name : Connection - DateCustom
2
2
object_type : connection
3
3
label : Connection - DateCustom
4
- as_connection : Snowflake
5
- database : <YOUR DATABASE FOR DATECUSTOM>
6
- schema : <YOUR SCHEMA FOR DATECUSTOM>
4
+ as_connection : Snowflake - AtScale
5
+ database : {{date_database}}
6
+ schema : {{date_schema}}
Original file line number Diff line number Diff line change 1
1
unique_name : Connection - TPCH
2
2
label : Connection - TPCH
3
3
object_type : connection
4
- as_connection : Snowflake
4
+ as_connection : Snowflake - AtScale
5
5
database : SNOWFLAKE_SAMPLE_DATA
6
6
schema : TPCH_SF1
Original file line number Diff line number Diff line change
1
+ unique_name : LineItem - TPCH
2
+ object_type : dimension
3
+ label : Item
4
+ description : This is the line item dimension
5
+ hierarchies :
6
+ - unique_name : LineItem Hierarchy
7
+ label : LineItem
8
+ description : Line Item Hiearchy
9
+ levels :
10
+ - unique_name : LineItem Level
11
+ - unique_name : L_ORDERKEY
12
+ - unique_name : L_SUPPKEY
13
+ level_attributes :
14
+ - unique_name : LineItem Level
15
+ label : LineItem Number
16
+ description : Line Item Level
17
+ contains_unique_names : false
18
+ dataset : lineitem
19
+ is_unique_key : true
20
+ key_columns :
21
+ - L_LINENUMBER
22
+ name_column : L_LINENUMBER
23
+ - unique_name : L_ORDERKEY
24
+ label : LineItem Order Key
25
+ contains_unique_names : false
26
+ dataset : lineitem
27
+ is_unique_key : false
28
+ key_columns :
29
+ - L_ORDERKEY
30
+ name_column : L_ORDERKEY
31
+ - unique_name : L_SUPPKEY
32
+ label : LineItem Supplier Key
33
+ contains_unique_names : false
34
+ dataset : lineitem
35
+ is_unique_key : false
36
+ key_columns :
37
+ - L_SUPPKEY
38
+ name_column : L_SUPPKEY
39
+ relationships :
40
+ - unique_name : lineitem_L_SUPPKEY_to_Supplier - TPCH_Supplier - TPCH Level
41
+ from :
42
+ dataset : lineitem
43
+ hierarchy : LineItem Hierarchy
44
+ join_columns :
45
+ - L_SUPPKEY
46
+ level : LineItem Level
47
+ to :
48
+ dimension : Supplier - TPCH
49
+ level : Supplier - TPCH Level
50
+ type : embedded
51
+ type : standard
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ hierarchies:
49
49
sort_column : O_SHIPPRIORITY
50
50
level_attributes :
51
51
- unique_name : Orders Dimension Level
52
- label : Orders Dimension Level
52
+ label : Order Key
53
53
description : The unique identifier for the order
54
54
dataset : orders
55
55
is_unique_key : true
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ hierarchies:
65
65
sort_column : P_TYPE
66
66
level_attributes :
67
67
- unique_name : Parts - TPCH Level
68
- label : Parts - TPCH Level
68
+ label : Parts Key
69
69
description : The name of the part
70
70
dataset : part
71
71
is_unique_key : true
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ hierarchies:
40
40
sort_column : S_PHONE
41
41
level_attributes :
42
42
- unique_name : Supplier - TPCH Level
43
- label : Supplier - TPCH Level
43
+ label : Supplier Key
44
44
description : the id of the supplier
45
45
dataset : supplier
46
46
is_unique_key : true
Original file line number Diff line number Diff line change @@ -133,4 +133,20 @@ relationships:
133
133
to :
134
134
dimension : Customer - TPCH
135
135
level : Customer - TPCH Level
136
+ - unique_name : orders_O_ORDERKEY_to_LineItem - TPCH_L_ORDERKEY
137
+ from :
138
+ dataset : orders
139
+ join_columns :
140
+ - O_ORDERKEY
141
+ to :
142
+ dimension : LineItem - TPCH
143
+ level : L_ORDERKEY
144
+ - unique_name : supplier_S_SUPPKEY_to_LineItem - TPCH_L_SUPPKEY
145
+ from :
146
+ dataset : supplier
147
+ join_columns :
148
+ - S_SUPPKEY
149
+ to :
150
+ dimension : LineItem - TPCH
151
+ level : L_SUPPKEY
136
152
visible : true
You can’t perform that action at this time.
0 commit comments