-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support build right with HashJoin in DataFusion #9603
Comments
Is there a technical problem with swapping join sides in Comet? |
No, I think technically we can do the swapping on joining keys, join filter, join output, etc. in Comet. I think it would be good if we can make DataFusion HashJoin more flexible to remove this constraint. |
Got it, I was figuring out if this could be a blocker. |
That sounds cool, and such initiative will help DF to support its own join order hints instead of hardcoded join order |
@comphead how would this work? do you think we should extend the SQL parser to support hints? |
I think this is not related to SQL parser. The SQL query looks the same. But in Spark, it can decide hash side based on relation statistics or the hint given by users. |
I will work on this. |
Is your feature request related to a problem or challenge?
See the discussion at Comet: apache/datafusion-comet#194 (comment)
Describe the solution you'd like
HashJoin supports build right option.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: