Skip to content

Commit fc7e0c5

Browse files
authored
docs: Chasm and fan traps
1 parent 0bba1b9 commit fc7e0c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/pages/reference/data-model/joins.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,9 @@ cubes:
409409
Cube automatically detects chasm and fan traps based on the `many_to_one` and `one_to_many` relationships defined in join.
410410
When detected, Cube generates a deduplication query that evaluates all distinct primary keys within the multiplied measure's cube and then joins distinct primary keys to this cube on itself to calculate the aggregation result.
411411
If there's more than one multiplied measure in a query, then such query is generated for every such multiplied measure, and results are joined.
412+
Cube solves for chasm and fan traps during query time.
413+
If there's pre-aggregregation that fits measure multiplication requirements it'd be leveraged to serve such a query.
414+
Such pre-aggregations and queries are always considered non-additive for the purpose of pre-aggregation matching.
412415

413416
Let's consider an example data model:
414417

0 commit comments

Comments
 (0)