chenjunjiedada commented on issue #2405:
URL: https://github.com/apache/iceberg/issues/2405#issuecomment-826281826
Still hit this problem. Now I know how to reproduce this.
1. Write the iceberg table with the 0.10.0 version.
2. Read the iceberg table manifests with the 0.11.1 version.
The following code could fix the issue:
```
--- a/core/src/main/java/org/apache/iceberg/GenericPartitionFieldSummary.java
+++ b/core/src/main/java/org/apache/iceberg/GenericPartitionFieldSummary.java
@@ -121,7 +121,7 @@ public class GenericPartitionFieldSummary
@Override
public Boolean containsNaN() {
- return containsNaN;
+ return containsNaN == null || containsNull;
}
```
@RussellSpitzer @yyanyy, We may need to re-consider this with #2492 again.
--
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]