kamilk-pal commented on PR #27562: URL: https://github.com/apache/datafusion/pull/27562#issuecomment-7039303401
> That seems like a non trivial change in my mind and I worry some users woudl experience this as a regression. Perhaps we can add a specific knob disable spilling just in this case so that users who are hitting issues can turn it off On 54.2.0, when the build side doesn’t fit and the join spills, the result is one of: 1. correct: e.g. an INNER join over an in-memory build side (it still executes the build side twice) 2. panic: e.g. a build side with a hash RepartitionExec, which panics with partition not used yet when executed a second time 3. incorrect, with no error: e.g. a multi-file Parquet build side, which loses rows on the second execution So it’s a regression for the first case, a different error for the second, and a correctness fix for the third. Because of the third case I believe it's best to disable the feature by default. Regarding configurability: unfortunately it'd result in a semver breaking change. I created a github issue to discuss it further: [config_namespace! structs lost #[non_exhaustive], so adding a config option is a breaking change](https://github.com/apache/datafusion/issues/27613). Given this context, I wonder what's the recommended next step. -- 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]
