-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsql_runner_query.view.lkml
110 lines (92 loc) · 1.71 KB
/
sql_runner_query.view.lkml
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
view: sql_runner_query {
derived_table: {
sql: select * from public.drive limit 10
;;
}
### edits on line 6
### more edits
### other comment on line 6 by other spencer
measure: count {
type: count
drill_fields: [detail*]
}
dimension: gsis_id {
type: string
sql: ${TABLE}.gsis_id ;;
}
dimension: drive_id {
type: string
sql: ${TABLE}.drive_id ;;
}
dimension: start_field {
type: string
sql: ${TABLE}.start_field ;;
}
dimension: start_time {
type: string
sql: ${TABLE}.start_time ;;
}
dimension: end_field {
type: string
sql: ${TABLE}.end_field ;;
}
dimension: end_time {
type: string
sql: ${TABLE}.end_time ;;
}
dimension: pos_team {
type: string
sql: ${TABLE}.pos_team ;;
}
dimension: pos_time {
type: string
sql: ${TABLE}.pos_time ;;
}
dimension: first_downs {
type: string
sql: ${TABLE}.first_downs ;;
}
dimension: result {
type: string
sql: ${TABLE}.result ;;
}
dimension: penalty_yards {
type: string
sql: ${TABLE}.penalty_yards ;;
}
dimension: yards_gained {
type: string
sql: ${TABLE}.yards_gained ;;
}
dimension: play_count {
type: string
sql: ${TABLE}.play_count ;;
}
dimension: time_inserted {
type: string
sql: ${TABLE}.time_inserted ;;
}
dimension: time_updated {
type: string
sql: ${TABLE}.time_updated ;;
}
set: detail {
fields: [
gsis_id,
drive_id,
start_field,
start_time,
end_field,
end_time,
pos_team,
pos_time,
first_downs,
result,
penalty_yards,
yards_gained,
play_count,
time_inserted,
time_updated
]
}
}