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


##########
flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/data/ParquetWithFlinkSchemaVisitor.java:
##########
@@ -110,8 +112,13 @@ public static <T> T visit(
             "Invalid map: repeated group does not have 2 fields");
 
         Preconditions.checkArgument(
-            sType instanceof MapType, "Invalid map: %s is not a map", sType);
-        MapType map = (MapType) sType;
+            sType instanceof MapType || sType instanceof MultisetType,
+            "Invalid map: %s is not a map",

Review Comment:
   or multiset



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