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
{{ message }}
Repository navigation
Enable Parallel-aware Hash Left Anti Semi (Not-In) Join #145
We have enabled Enable Parallel Hash Left Anti Semi (Not-In) Join(parallel-oblivious) for a NOT IN sql in CBDB.
But it's parallel-oblivious and the inner table would be duplicately processed, it requires the inner table is relatively very small.
And the parallel-oblivious path will be dropped if we have a lot of data on both sides, and planner tends to choose a non-parallel LASJ instead.
We need to implement Parallel-aware Hash Left Anti Semi (Not-In) Join to parallel join with a shared hash table.
However, it's no easy because it's hard to tell NULL values in which batch. We must refactor the parallel HashJoin to tell the right results.
We will benefit a lot on all kinds of NOT IN sql with this feature no matter what the inner sides are .
Activity
avamingli commentedon Oct 13, 2023
Enabled by #149, closed.