Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.6.0
-
None
Description
public Boolean visit(And and) { return and.getLeft().accept(this) && and.getRight().accept(this); }
visit(And and) is used to determine whether a row group "canDrop", therefore, in "And" situation, either left "canDrop" or right "canDrop" would lead the row group "canDrop", so we need a "||" here to make the choice.
Therefore, it should be:
public Boolean visit(And and) { return and.getLeft().accept(this) || and.getRight().accept(this); }
Attachments
Issue Links
- duplicates
-
PARQUET-173 StatisticsFilter doesn't handle And properly
- Resolved