You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, clickhouse does not support spill on the second stage of aggregation which maybe result a OOM.
We have encounter this on the following SQL:
INSERT OVERWRITE TABLE tmp.test_zzb_gluten_d_9547_0_1
SELECT user_a, user_b, SUM(type) as indicator FROM (
SELECT uid as user_a, follow_uid as user_b, 1 as type FROM log.tbl_show_follow_orc WHERE deleted=0 GROUP BY uid, follow_uid
UNION ALL
SELECT follow_uid as user_a, uid as user_b, 2 as type FROM log.tbl_show_follow_orc WHERE deleted=0 GROUP BY uid, follow_uid
) unionResult
GROUP BY user_a, user_b
HAVING indicator=3
Description
Now, clickhouse does not support spill on the second stage of aggregation which maybe result a OOM.
We have encounter this on the following SQL:
Got the ch plan:
The
MergingAggregatedTransform
indicates that we are in the second stage of AGG. And finally we got OOM.The text was updated successfully, but these errors were encountered: