aihuaxu commented on code in PR #11831: URL: https://github.com/apache/iceberg/pull/11831#discussion_r1940041876
########## core/src/main/java/org/apache/iceberg/SchemaParser.java: ########## @@ -166,6 +169,10 @@ public static String toJson(Schema schema, boolean pretty) { private static Type typeFromJson(JsonNode json) { if (json.isTextual()) { + if (VARIANT.equalsIgnoreCase(json.asText())) { Review Comment: From dev list discussion, seems we need to add new one and mark this one deprecated. Then we will deprecate later. I added a new `fromTypeString()`. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org