voonhous commented on code in PR #17751:
URL: https://github.com/apache/hudi/pull/17751#discussion_r2653250029
##########
hudi-common/src/main/java/org/apache/hudi/common/schema/HoodieSchemaType.java:
##########
@@ -150,6 +154,8 @@ public static HoodieSchemaType fromAvro(Schema avroSchema) {
return DATE;
} else if (logicalType == LogicalTypes.uuid()) {
return UUID;
+ } else if (logicalType instanceof VariantLogicalType) {
Review Comment:
Make sense, limit the number of object creation for types. Will eagerly
initialize a singleton.
--
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]