Skip to content

Commit f05153b

Browse files
Reduce redundancy between granularity bullet and tip (#528)
Generated-By: mintlify-agent Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 3628b32 commit f05153b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

references/pre-aggregates/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ When a user runs a query, Lightdash automatically checks if a pre-aggregate can
7474
- Every dimension used in **filters** is included in the pre-aggregate
7575
- All metrics use [supported metric types](#supported-metric-types)
7676
- The query does not contain custom dimensions, custom metrics, or table calculations
77-
- If the query uses a time dimension, the requested granularity is **equal to or coarser** than the pre-aggregate's granularity (for example, a `day` pre-aggregate can serve `day`, `week`, `month`, or `year` queries, but not `hour`)
77+
- If the query uses a time dimension, the requested granularity must be **equal to or coarser** than the pre-aggregate's granularity
7878

7979
<Tip>
80-
If you pre-aggregate at **day** granularity, the cache hits for `day`, `week`, `month`, `quarter`, and `year` queries. If you pre-aggregate at **month** granularity, the cache hits for `month`, `quarter`, and `year` — but **not** for `day` or `week`, since those require finer-grained data.
80+
A **day** pre-aggregate serves `day`, `week`, `month`, `quarter`, and `year` queries. A **month** pre-aggregate serves `month`, `quarter`, and `year` — but **not** `day` or `week`, since those need finer-grained data.
8181
</Tip>
8282

8383
When multiple pre-aggregates match a query, Lightdash picks the smallest one (fewest dimensions, then fewest metrics as tiebreaker).

0 commit comments

Comments
 (0)