rdblue commented on code in PR #12346:
URL: https://github.com/apache/iceberg/pull/12346#discussion_r1995898210
##########
core/src/main/java/org/apache/iceberg/SingleValueParser.java:
##########
@@ -335,6 +349,13 @@ public static void toJson(Type type, Object defaultValue,
JsonGenerator generato
generator.writeString(decimalValue.toString());
}
break;
+ case GEOMETRY:
+ case GEOGRAPHY:
Review Comment:
If there aren't real-world scenarios for default values, then we should
update the spec to ensure that the default is always null.
--
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]