Skip to content

Commit a5598dd

Browse files
authored
docs: Elaborate on date range granularity match strict checks
1 parent 1203291 commit a5598dd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/pages/reference/data-model/pre-aggregations.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,8 +1111,12 @@ refreshes.
11111111
### `allow_non_strict_date_range_match`
11121112

11131113
The `allow_non_strict_date_range_match` property can be used to allow queries to
1114-
match this pre-aggregation when using non-strict date ranges. This is useful
1115-
when using a visualization tools such as [Apache
1114+
match this pre-aggregation when using non-strict date ranges.
1115+
By default Cube checks if requested date range exactly matches pre-aggregation granularity.
1116+
For example if you're requesting half of a day or your date range filter is just one millisecond off for daily granularity pre-aggregation Cube would not use such a pre-aggregation by default.
1117+
Use this flag to lift this strict check.
1118+
This is useful
1119+
when using a visualization tools such as Tableau or [Apache
11161120
Superset][ref-config-downstream-superset] that use loose date ranges by default.
11171121

11181122
<CodeTabs>

0 commit comments

Comments
 (0)