viirya commented on PR #21448: URL: https://github.com/apache/datafusion/pull/21448#issuecomment-7127930095
Thanks @alamb for the ping, and @kamilk-pal for digging into this. I checked the three issues against `branch-54`, and all three reproduce there. The fixes (#24677, #24675, #24746) are on `main` and first ship in 56.0.0, but none of them are on `branch-54` or `branch-55`: - #24676: the fallback re-executes the build side. With a `RepartitionExec` under the build side this panics with `partition not used yet`. With file scans, the work-stealing `SharedWorkSource` is shared across `execute` calls, so files already claimed by the first execution are skipped by the second. - #22641: with a multi-partition probe side, LEFT / LEFT ANTI emit unmatched rows once per partition. On the existing unit-test tables with 4 right partitions, LEFT returns 12 rows instead of 3, and LEFT ANTI returns 11 instead of 2. - #24745: unmatched probe-side rows are dropped after the last build chunk, so RIGHT / RIGHT ANTI / FULL (including swapped LEFT JOIN and `NOT EXISTS`) silently return fewer rows. These are three independent bugs, and making the fallback correct on 54.x would need all three fixes. #24677 is a sizeable rework of how the build side is loaded, so I agree that disabling the fallback on `branch-54` is the safer option. Returning a wrong answer silently is worse than returning `ResourcesExhausted`, which was the 53.x behavior anyway. Users who need the spilling path can get it from 56.0.0. #27562 looks like the right shape to me. The fallback can only be entered through the `SpillState::Pending` setup in `execute`, so gating it there disables it completely and leaves the fallback code itself untouched. Since a config knob would be a semver-breaking change here (#27613), a constant seems like the reasonable tradeoff for a patch release. @kamilk-pal it looks like the Rust build/test workflows haven't run on #27562 yet, so it would be good to see those pass before merging. Also, `branch-55` is affected in the same way; if a 55.x patch release is planned, the same change would apply there. -- 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]
