16pierre commented on issue #9846: URL: https://github.com/apache/datafusion/issues/9846#issuecomment-2589918623
> Adjusting heuristics will likely just make some people's plans better but others worse Yes, what I had in mind was to stay behind the `!prefer_hash_join` flag to use SMJ. My blocker was rather the conditions `session_state.config().target_partitions() > 1 && session_state.config().repartition_joins()`, which I guess are required today to guarantee that data is pre-sorted correctly, whereas there may be other ways to infer that data is pre-sorted. But this probably not high priority, it's feasible to work-around as suggested in this thread. -- 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]
