-
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
fix: Update the filterInput when flatten the right projections #11982
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for meta-velox canceled.
|
Hi, @JkSelf , in #11771 only semi join and anti join are fixed with JoinTracker, but inner join with a filter has not been fixed. |
@wankunde Based on our offline discussion, can #11771 resolve your issue? |
Thanks, @JkSelf , #11771 already fixed the Q95 issue in |
What changes were proposed in this pull request?
Bug fix for MergeJoin which the join filter is not null. For example, in the tpcds 95, the subquery ws_wh contains a join filter
ws1.ws_warehouse_sk <> ws2.ws_warehouse_sk
How to reproduce this issue:
In tpc95 query, if the right matches contains more than one batch, and these batches are DictionaryVector.
When we
addOutputRow()
from those batches, SMJ join will only copy the Dictionary indices.And then we decode the incorrect value from the last DictionaryVector.
Why are the changes needed?
Fix data quality issue.
How was this patch tested?
Test with TPCDS 95 query and local query