yyanyy commented on a change in pull request #1872:
URL: https://github.com/apache/iceberg/pull/1872#discussion_r570693495



##########
File path: 
api/src/main/java/org/apache/iceberg/expressions/ManifestEvaluator.java
##########
@@ -329,5 +338,12 @@ public Boolean or(Boolean leftResult, Boolean rightResult) 
{
 
       return ROWS_MIGHT_MATCH;
     }
+
+    private boolean allValuesAreNull(PartitionFieldSummary summary) {
+      // containsNull encodes whether at least one partition value is null, 
lowerBound is null if all partition values
+      // are null; in case bounds don't include NaN value, containsNaN needs 
to be checked against.
+      return summary.containsNull() && summary.lowerBound() == null &&
+          summary.containsNaN() != null && !summary.containsNaN();

Review comment:
       Yes, sorry I forgot to address this comment... Will update




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to