aihuaxu opened a new pull request, #14261: URL: https://github.com/apache/iceberg/pull/14261
### Handle NPE for VariantLogicalType in TypeWithSchemaVisitor Description: This change adds null-safety checks when detecting and processing variant types in the TypeWithSchemaVisitor.visit() method. Previously, the code could throw a NullPointerException when the Parquet schema contains variant columns and iType could null, e.g., the variant column(s) are getting pruned. This is to add the safety check for null and also add test coverage with variant pruning test. -- 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]
