huaxingao commented on code in PR #14261:
URL: https://github.com/apache/iceberg/pull/14261#discussion_r2408665847


##########
parquet/src/test/java/org/apache/iceberg/parquet/TestPruneColumns.java:
##########
@@ -270,4 +273,64 @@ public void testStructElementName() {
     MessageType actual = ParquetSchemaUtil.pruneColumns(fileSchema, 
projection);
     assertThat(actual).as("Pruned schema should be 
matched").isEqualTo(expected);
   }
+
+  @Test
+  public void testVariant() {

Review Comment:
   Both variant fields are OPTIONAL and the expected pruned schema keeps it 
OPTIONAL, so seems to me that null scenario is covered.



-- 
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]

Reply via email to