Union without ALL
Condition
Query in RUNNING
status contains UNION
instead of UNION ALL
, and it aggregates a large number of rows.
How to fix
Use
UNION ALL
instead ofUNION
. If you actually need de-duplication, consider usingGROUP BY
orDISTINCT
on sub-query with multiple tables combined byUNION ALL
.Process data in smaller chunks.
Example
Specific arguments
min_input_rows (int) - how many rows should go into
Aggregate
node caused byUNION
(recommended min value is at least 1M to prevent false positives)
Last updated