-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: Fix the right join result mismatch issue #13065
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
Conversation
✅ Deploy Preview for meta-velox canceled.
|
db58ade to
ad3d4f2
Compare
|
@xiaoxmeng Resolved all your comments. Please help to review again. Thanks. |
xiaoxmeng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JkSelf thanks for the update!
|
@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
kevinwilfong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
|
@xiaoxmeng merged this pull request in 8285db4. |
When performing a right join operation using above data, if we directly set rightRowIndex_ to 0 here, it will result in all final outcomes being empty in left side. This is because during the comparison process, the first value of the right input is null, leading to a comparison result of -1 consistently. Consequently, all the left-side data will be fully traversed, and the input will be set to null columns, resulting in the final output returning only the right-side columns, with all left-side columns set to null. And this PR addresses the above issue by skipping the null row index prior to comparing the results.