-
Notifications
You must be signed in to change notification settings - Fork 0
/
cache_index.view.lookml
95 lines (72 loc) · 1.84 KB
/
cache_index.view.lookml
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
- view: cache_index
sql_table_name: CACHE_INDEX
fields:
- dimension: id
primary_key: true
type: int
sql: ${TABLE}.ID
- dimension_group: cache
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.CACHE_TIME
- dimension: cleanup_scheme
sql: ${TABLE}.CLEANUP_SCHEME
- dimension: computation_time
type: number
sql: ${TABLE}.COMPUTATION_TIME
- dimension_group: created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.CREATED_AT
- dimension: encrypted
type: yesno
sql: ${TABLE}.ENCRYPTED
- dimension: entry_type
sql: ${TABLE}.ENTRY_TYPE
- dimension: execution_time
type: number
sql: ${TABLE}.EXECUTION_TIME
- dimension_group: expiration
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.EXPIRATION
- dimension: gzipped
type: yesno
sql: ${TABLE}.GZIPPED
- dimension: hash
sql: ${TABLE}.HASH
- dimension_group: last_touched
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.LAST_TOUCHED_AT
- dimension: node_id
type: int
# hidden: true
sql: ${TABLE}.NODE_ID
- dimension: query_text
sql: ${TABLE}.QUERY_TEXT
- dimension: result_columns
type: int
sql: ${TABLE}.RESULT_COLUMNS
- dimension: result_rows
type: int
sql: ${TABLE}.RESULT_ROWS
- dimension: result_size_bytes
type: int
sql: ${TABLE}.RESULT_SIZE_BYTES
- dimension: time_to_live_without_touch
type: int
sql: ${TABLE}.TIME_TO_LIVE_WITHOUT_TOUCH
- dimension: touch_count
type: int
sql: ${TABLE}.TOUCH_COUNT
- dimension_group: touched
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.TOUCHED_AT
- dimension: ttl
type: int
sql: ${TABLE}.TTL
- measure: count
type: count
drill_fields: [id, node.id, node.hostname]