joyhaldar commented on code in PR #17610:
URL: https://github.com/apache/iceberg/pull/17610#discussion_r4420820747


##########
data/src/test/java/org/apache/iceberg/data/ReadFormatModelTests.java:
##########
@@ -145,6 +163,29 @@ private Schema filterUnsupported(Schema schema) {
     return kept.size() == schema.columns().size() ? schema : new Schema(kept);
   }
 
+  protected void assumeSupportedTypes(Schema schema) {
+    Collection<Type.TypeID> unsupportedTypeIds = unsupportedTypeIds();
+
+    Type unsupportedType =
+        TypeUtil.find(schema, type -> 
unsupportedTypeIds.contains(type.typeId()));

Review Comment:
   Fixed, the root struct is now excluded in `containsType()`.



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