You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "sesteves (via GitHub)" <gi...@apache.org> on 2026/08/25 11:51:49 UTC

Re: [I] Correctness guard: disable memory-limited NestedLoopJoin fallback for LEFT-family joins with multi-partition right side [datafusion]

sesteves commented on issue #22641:
URL: https://github.com/apache/datafusion/issues/22641#issuecomment-5409965836

   One join type appears to be missing from the explicit guard and test scope: `JoinType::LeftSemi`.
   
   The current `NestedLoopJoinExec` source comment explicitly groups `LEFT SEMI` with `LEFT`, `LEFT ANTI`, and `LEFT MARK` as having the same latent multi-partition fallback issue. `need_produce_result_in_final` also includes `LeftSemi`.
   
   For `LeftSemi`, the per-partition `JoinLeftData` state can emit the same left row from more than one right partition when that row has matches in multiple partitions. This is the semi-join form of the same missing cross-partition coordination problem.
   
   Could the fallback-disable guard and regression matrix also include `JoinType::LeftSemi`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org