Cartesian Join Explosion
Condition
Cartesian join causes uncontrolled explosion of result set for RUNNING
query.
How to fix
Check join conditions and actual data in joined columns. Make sure the join condition is correct.
Consider adding additional filters to reduce the scale of explosion. Avoid many-to-many joins.
Avoid joins without equality condition.
Example
Specific arguments
min_output_rows (int) - how many rows should be produced by
CartesianJoin
(recommended min value is at least 1 million to prevent false positives)min_explosion_rate (float) - how many times number of output rows produced by
CartesianJoin
is higher than number of input rows (recommended min value is at least 5)
Last updated