pvary commented on code in PR #13695:
URL: https://github.com/apache/iceberg/pull/13695#discussion_r2240227612


##########
parquet/src/test/java/org/apache/iceberg/parquet/TestVariantMetrics.java:
##########
@@ -140,6 +140,9 @@ public void testShreddedPrimitiveTypes(VariantValue value) 
throws IOException {
               return bounds.get(ROOT_FIELD);
             })
         .isEqualTo(value);
+
+    assertThat(metrics.originalTypes().get(1)).isEqualTo(Types.LongType.get());
+    
assertThat(metrics.originalTypes().get(2)).isEqualTo(Types.VariantType.get());

Review Comment:
   Any reason not using?
   ```
       assertThat(metrics.originalTypes()).isEqualTo(Map.of(1, 
Types.LongType.get(), 2, Types.VariantType.get()));
   ```



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