-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflights_by_day.view.lkml
More file actions
121 lines (103 loc) · 1.74 KB
/
flights_by_day.view.lkml
File metadata and controls
121 lines (103 loc) · 1.74 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
view: flights_by_day {
sql_table_name: public.flights_by_day ;;
dimension: arr_delay {
type: number
sql: ${TABLE}.arr_delay ;;
}
dimension_group: arr {
type: time
timeframes: [
raw,
time,
date,
week,
month,
quarter,
year
]
sql: ${TABLE}.arr_time ;;
}
dimension: cancelled {
type: string
sql: ${TABLE}.cancelled ;;
}
dimension: carrier {
type: string
sql: ${TABLE}.carrier ;;
}
dimension: dep_delay {
type: number
sql: ${TABLE}.dep_delay ;;
}
dimension_group: dep {
type: time
timeframes: [
raw,
time,
date,
week,
month,
quarter,
year
]
sql: ${TABLE}.dep_time ;;
}
dimension_group: dept_day {
type: time
timeframes: [
raw,
date,
week,
month,
quarter,
year
]
convert_tz: no
datatype: date
sql: ${TABLE}.dept_day ;;
}
dimension: destination {
type: string
sql: ${TABLE}.destination ;;
}
dimension: distance {
type: number
sql: ${TABLE}.distance ;;
}
dimension: diverted {
type: string
sql: ${TABLE}.diverted ;;
}
dimension: flight_num {
type: string
sql: ${TABLE}.flight_num ;;
}
dimension: flight_time {
type: number
sql: ${TABLE}.flight_time ;;
}
dimension: id2 {
type: number
sql: ${TABLE}.id2 ;;
}
dimension: origin {
type: string
sql: ${TABLE}.origin ;;
}
dimension: tail_num {
type: string
sql: ${TABLE}.tail_num ;;
}
dimension: taxi_in {
type: number
sql: ${TABLE}.taxi_in ;;
}
dimension: taxi_out {
type: number
sql: ${TABLE}.taxi_out ;;
}
measure: count {
type: count
drill_fields: []
}
}