Skip to content

Commit 15c1548

Browse files
committed
docs(models): fix YAML examples for segments
1 parent e30b594 commit 15c1548

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/content/Schema/Reference/segments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cube(`Users`, {
3030
cubes:
3131
- name: Users
3232
segments:
33-
sf_users:
33+
- name: sf_users
3434
sql: "{CUBE}.location = 'San Francisco'"
3535
```
3636
@@ -54,7 +54,7 @@ cube(`Users`, {
5454
cubes:
5555
- name: Users
5656
segments:
57-
sf_users:
57+
- name: sf_users
5858
sql: "{CUBE}.location = 'San Francisco' or {CUBE}.state = 'CA'"
5959
```
6060
@@ -121,11 +121,11 @@ cube(`Users`, {
121121
cubes:
122122
- name: Users
123123
dimensions:
124-
location:
124+
- name: location
125125
sql: location
126126
type: string
127127
segments:
128-
sf_users:
128+
- name: sf_users
129129
sql: "{CUBE}.location = 'San Francisco'"
130130
```
131131
@@ -178,7 +178,7 @@ cube(`Users`, {
178178
cubes:
179179
- name: Users
180180
segments:
181-
sf_ny_users:
181+
- name: sf_ny_users
182182
sql:
183183
"{CUBE}.location = 'San Francisco' OR {CUBE}.location like '%New
184184
York%'"

0 commit comments

Comments
 (0)