Skip to content

Commit

Permalink
docs: clarify usage of cron + sql in refresh_key (#9082)
Browse files Browse the repository at this point in the history
* docs: clarify usage of cron + sql in refresh_key

* Update pre-aggregations.mdx
  • Loading branch information
AvilaJulio authored Jan 13, 2025
1 parent 80591ea commit 646bd9d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/pages/reference/data-model/pre-aggregations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,12 @@ To have a pre-aggregation rebuild at a specific time of day, you can use a CRON

You can also use `every` with `sql`:

<WarningBox>

Using CRON strings and `sql` is not supported and will result in a compilation error.

</WarningBox>

<CodeTabs>

```javascript
Expand Down Expand Up @@ -1756,4 +1762,4 @@ cubes:
[ref-aggregating-indexes]: /product/caching/using-pre-aggregations#aggregating-indexes
[ref-pre-aggs]: /product/caching/using-pre-aggregations
[ref-ref-cubes]: /reference/data-model/cube
[ref-custom-granularity]: /reference/data-model/dimensions#granularities
[ref-custom-granularity]: /reference/data-model/dimensions#granularities

0 comments on commit 646bd9d

Please sign in to comment.