RussellSpitzer commented on a change in pull request #3760:
URL: https://github.com/apache/iceberg/pull/3760#discussion_r788076597
##########
File path:
parquet/src/test/java/org/apache/iceberg/parquet/TestParquetDataWriter.java
##########
@@ -112,5 +159,10 @@ public void testDataWriter() throws IOException {
}
Assert.assertEquals("Written records should match", records,
writtenRecords);
+
+ Assert.assertTrue("Should have a valid lower bound",
dataFile.lowerBounds().containsKey(1));
+ Assert.assertTrue("Should have a valid upper bound",
dataFile.upperBounds().containsKey(1));
+ Assert.assertTrue("Should have a valid lower bound",
dataFile.lowerBounds().containsKey(2));
Review comment:
https://github.com/apache/iceberg/blob/bf9a22738b1160749b113f9b5f090a5e8d4c3827/api/src/main/java/org/apache/iceberg/expressions/InclusiveMetricsEvaluator.java#L231-L237
https://github.com/apache/iceberg/blob/bf9a22738b1160749b113f9b5f090a5e8d4c3827/api/src/main/java/org/apache/iceberg/expressions/InclusiveMetricsEvaluator.java#L256-L263
<- Yep should be safe
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]