You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sml-reference/dimension.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ SML supports the following types of dimensions:
29
29
30
30
Sample `dimension` file:
31
31
32
-
```
32
+
```yaml
33
33
unique_name: Store Dimension
34
34
object_type: dimension
35
35
label: Store Dimension
@@ -254,6 +254,7 @@ namespace Dimensions{
254
254
Boolean exclude_from_dim_agg
255
255
Boolean exclude_from_fact_agg
256
256
String time_unit
257
+
Int constraint_translation_rank
257
258
Array~String~ allowed_calcs_for_dma
258
259
}
259
260
class SecondaryAttribute{
@@ -1148,14 +1149,12 @@ unique values.
1148
1149
1149
1150
## constraint_translation_rank
1150
1151
1151
-
-**Type:**number
1152
+
-**Type:**integer
1152
1153
-**Required:** N
1153
1154
-**Range:** should be a valid 32 bit integer
1154
1155
1155
1156
Defines the translation of dimension filter constraints into fact table partition column constraints. This can significantly improve query performance for cases where fact-based aggregates are not used.
1156
1157
1157
-
This property must be used in conjunction with the `constraint_translation` property defined in a model relationship.
0 commit comments