-
Notifications
You must be signed in to change notification settings - Fork 0
/
restaurants.view.lookml
53 lines (41 loc) · 1012 Bytes
/
restaurants.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
- view: restaurants
sql_table_name: public.restaurants
fields:
- dimension: restaurant_id
primary_key: true
type: string
sql: ${TABLE}.restaurant_id
- dimension: _id
type: string
sql: ${TABLE}._id
- dimension: address_building
type: string
sql: ${TABLE}."address.building"
- dimension: address_street
type: string
sql: ${TABLE}."address.street"
- dimension: address_zipcode
type: string
sql: ${TABLE}."address.zipcode"
- dimension: borough
type: string
sql: ${TABLE}.borough
- dimension: cuisine
type: string
sql: ${TABLE}.cuisine
- dimension: name
type: string
sql: ${TABLE}.name
- measure: count
type: count
drill_fields: detail*
# ----- Sets of fields for drilling ------
sets:
detail:
- restaurant_id
- name
- restaurants_address_coord.count
- restaurants_address_coord_fdw.count
- restaurants_fdw.count
- restaurants_grades.count
- restaurants_grades_fdw.count