-
Notifications
You must be signed in to change notification settings - Fork 2.9k
MR: Fix IndexOutOfBounds by skip filter translation if there are no leaves #7123
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
* [mr] Skip filter translation if there are no leaves (#43) * Skip filter translation if there are no leaves * Make check generic * [mr] Check for valid leaf literals * Add unit test
|
PTAL @pvary |
|
PTAL @danielcweeks - Thanks! |
|
I am not working on MR side lately, so I do not have a current knowledge of the code here |
deniskuzZ
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.
LGTM, note that Hive overrides this class in iceberg-handler module, due to a lack of committer support in iceberg project. Consider opening a similar PR for Hive.
|
Thanks @edgarRd for the PR and @deniskuzZ for the review! |
|
Thanks for the review @deniskuzZ and @pvary for the merge! |
Fixes #7122
Handles issues when converting
SearchArgumentswhere tree and leaf arrays are not in sync.The changes in PR make sure that whenever we access certain array indexes they are within bounds expected.