Skip to content

Commit 49fc172

Browse files
authored
docs: clarify usage of cron + sql in refresh_key
1 parent ee826e1 commit 49fc172

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,12 @@ cubes:
924924
To have a pre-aggregation rebuild at a specific time of day, you can use a CRON string with some limitations. For more details about values that can be used with the `every` parameter, please refer to the
925925
[`refreshKey`][ref-cube-refreshkey] documentation.
926926

927+
<WarningBox>
928+
929+
Using CRON strings and `sql` is not supported and will result in a compilation error.
930+
931+
</WarningBox>
932+
927933
You can also use `every` with `sql`:
928934

929935
<CodeTabs>
@@ -1756,4 +1762,4 @@ cubes:
17561762
[ref-aggregating-indexes]: /product/caching/using-pre-aggregations#aggregating-indexes
17571763
[ref-pre-aggs]: /product/caching/using-pre-aggregations
17581764
[ref-ref-cubes]: /reference/data-model/cube
1759-
[ref-custom-granularity]: /reference/data-model/dimensions#granularities
1765+
[ref-custom-granularity]: /reference/data-model/dimensions#granularities

0 commit comments

Comments
 (0)