rfyu opened a new pull request, #9903:
URL: https://github.com/apache/iceberg/pull/9903

   For a table in v1 format,after deleting a partition, the new data will be 
stored in the partition with a null partition value. When querying this data 
using `FindFiles.inPartitions`, the following exception will be thrown.
   ```
   java.lang.NullPointerException: Cannot create expression literal from null
        at 
org.apache.iceberg.relocated.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:921)
        at org.apache.iceberg.expressions.Literals.from(Literals.java:60)
        at 
org.apache.iceberg.expressions.UnboundPredicate.<init>(UnboundPredicate.java:40)
        at 
org.apache.iceberg.expressions.Expressions.equal(Expressions.java:169)
        at org.apache.iceberg.FindFiles$Builder.inPartitions(FindFiles.java:183)
        at org.apache.iceberg.FindFiles$Builder.inPartitions(FindFiles.java:157)
        at 
org.apache.iceberg.TestFindFiles.testInPartitionsAfterRemovePartitionField(TestFindFiles.java:151)
   ```


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to