-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[core] [bug] Partition should not be filtered when manifest file predicate and file itself all min/max is null #3421
Conversation
…file all values is null
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.
See PredicateBuilder.equalPartition
too.
See |
See |
FileStoreLookupFunction.createSpecificPartFilter |
PredicateBuilder.partition(Map<String, String> map, RowType rowType) |
Object maxValue = stats.max(); | ||
|
||
min[i] = minValue == null ? builder.isNull(i) : builder.greaterOrEqual(i, minValue); | ||
max[i] = maxValue == null ? builder.isNull(i) : builder.lessOrEqual(i, maxValue); |
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.
Seems wrong logic here.
Collector should not collect null values.
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.
I see, if it is null, all values are null.
+1 |
Purpose
Linked issue: close #xxx
Tests
API and Format
Documentation