mhatipog commented on code in PR #19161:
URL: https://github.com/apache/iceberg/pull/19161#discussion_r4752453415
##########
core/src/test/java/org/apache/iceberg/TestInclusiveStatsEvaluator.java:
##########
@@ -283,6 +287,35 @@ void nullsForFieldsInFullyPresentStruct() {
.isTrue();
}
+ @Test
+ void notNaNForFieldsUnderOptionalStruct() {
+ // All observed child values are NaN, but rows with an absent parent match
notNaN.
+ TrackedFile partial =
+ trackedFile(
+ "partially_present.avro",
+ 5,
+ contentStats(
+ LOCATION_STATS_TYPE,
+ fieldStats(LOCATION_STATS_TYPE, 2, null, null, 3L, null, 3L),
Review Comment:
Added `notNaNForFieldsUnderAbsentStruct` in 5647d59. It fails without the
change in `InclusiveStatsEvaluator`.
--
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]