Skip to content

Commit c8c149b

Browse files
committed
no-mistakes(document): Updated reporting.md table rows to clarify required-ness includes validator.required child.
1 parent f503b7c commit c8c149b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/features/reporting.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ physical column name is your naming strategy applied to the **derived field name
249249

250250
| Item | Column | Type | Never null? |
251251
|---|---|---|---|
252-
| `dimension.attribute` | the dimension's name | the `@of` field's type | only when the dimension has no `@via` and the `@of` field declares `@required: true` |
252+
| `dimension.attribute` | the dimension's name | the `@of` field's type | only when the dimension has no `@via` and the `@of` field is required (`@required: true` or a `validator.required` child) |
253253
| `dimension.time` at `hour` | `<name>Hour` | `timestamp` | same rule |
254254
| `dimension.time` at `day`, `week`, `month`, `quarter`, `year` | `<name><Grain>` | `date`, the first day of the bucket | same rule |
255255
| `count` (with or without `@distinct`) | the measure's name | `long` | yes: a count is never null |
@@ -262,7 +262,7 @@ physical column name is your naming strategy applied to the **derived field name
262262
| `min` / `max` | the measure's name | the `@of` field's type | no |
263263
| `measure.ratio` | the measure's name | `decimal` | no |
264264
| any measure above except `count`, declaring `@default` | the measure's name | as above | yes: it reads its `@default` instead of null |
265-
| in a `@spine` report, a dimension over a column of the spine entity | the dimension's name | the `@of` field's type | yes when the `@of` field is `@required` or one of the spine entity's `identity.primary` `@fields`; no for a dimension reached beyond the spine entity |
265+
| in a `@spine` report, a dimension over a column of the spine entity | the dimension's name | the `@of` field's type | yes when the `@of` field is required (`@required` or a `validator.required` child) or one of the spine entity's `identity.primary` `@fields`; no for a dimension reached beyond the spine entity |
266266

267267
The last two rows are the only ways a measure other than `count`, or a dimension reached
268268
through `@via`, is never null. The key clause applies only under `@spine`, where the key is

0 commit comments

Comments
 (0)