-
Notifications
You must be signed in to change notification settings - Fork 0
/
mongo_test.model.lookml
51 lines (36 loc) · 1.22 KB
/
mongo_test.model.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
- connection: mongo
- include: "*.view.lookml" # include all the views
- include: "*.dashboard.lookml" # include all the dashboards
- explore: restaurants
- explore: restaurants_address_coord
joins:
- join: restaurants
type: left_outer
sql_on: ${restaurants_address_coord.restaurant_id} = ${restaurants.restaurant_id}
relationship: many_to_one
- explore: restaurants_address_coord_fdw
joins:
- join: restaurants
type: left_outer
sql_on: ${restaurants_address_coord_fdw.restaurant_id} = ${restaurants.restaurant_id}
relationship: many_to_one
- explore: restaurants_fdw
joins:
- join: restaurants
type: left_outer
sql_on: ${restaurants_fdw.restaurant_id} = ${restaurants.restaurant_id}
relationship: many_to_one
- explore: restaurants_grades
joins:
- join: restaurants
type: left_outer
sql_on: ${restaurants_grades.restaurant_id} = ${restaurants.restaurant_id}
relationship: many_to_one
- explore: restaurants_grades_fdw
joins:
- join: restaurants
type: left_outer
sql_on: ${restaurants_grades_fdw.restaurant_id} = ${restaurants.restaurant_id}
relationship: many_to_one
- explore: users
- explore: users_fdw