-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecommerce_orders.model.aml
More file actions
45 lines (44 loc) · 978 Bytes
/
ecommerce_orders.model.aml
File metadata and controls
45 lines (44 loc) · 978 Bytes
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
Model ecommerce_orders3 {
type: 'table'
label: 'Orders'
description: ''
data_source_name: 'demodb'
dimension id {
label: 'Id'
type: 'number'
hidden: false
definition: @sql {{ #SOURCE.id }};;
}
dimension status {
label: 'Status'
type: 'text'
hidden: false
definition: @sql {{ #SOURCE.status }};;
}
dimension created_at {
label: 'Created At'
type: 'datetime'
hidden: false
definition: @sql {{ #SOURCE.created_at }};;
}
dimension user_id {
label: 'User Id'
type: 'number'
hidden: false
definition: @sql {{ #SOURCE.user_id }};;
}
dimension discount {
label: 'Discount'
type: 'number'
hidden: false
definition: @sql {{ #SOURCE.discount }};;
}
dimension delivery_attempts {
label: 'Delivery Attempts'
type: 'number'
hidden: false
definition: @sql {{ #SOURCE.delivery_attempts }};;
}
owner: 'thang.lk@holistics.io'
table_name: '"ecommerce"."orders"'
}