mbutrovich opened a new pull request, #23574: URL: https://github.com/apache/datafusion/pull/23574
## Which issue does this PR close? - Backport of #23049 to `branch-54` (for 54.1.0, tracked in #22547). - Fixes wrong results #23048 (regression introduced in 54.0.0 by the SMJ bitwise-path rewrite #20806). ## Rationale for this change Sort-merge join semi/anti drops matches across pending outer batches, producing wrong results in 54.0.0. No API changes, correctness-only fix, so it fits the backport criteria. ## What changes are included in this PR? Clean cherry-pick of #23049. No adaptation required. ## Are these changes tested? Yes. Carries the original SMJ regression tests, all tests pass. ## Are there any user-facing changes? Semi/anti sort-merge joins now return the correct rows. No API changes. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
