voonhous commented on code in PR #17833:
URL: https://github.com/apache/hudi/pull/17833#discussion_r2730017333
##########
hudi-common/src/main/java/org/apache/hudi/common/schema/HoodieSchemaType.java:
##########
@@ -154,7 +154,7 @@ public static HoodieSchemaType fromAvro(Schema avroSchema) {
return DATE;
} else if (logicalType == LogicalTypes.uuid()) {
return UUID;
- } else if (logicalType instanceof VariantLogicalType) {
+ } else if (logicalType == VariantLogicalType.variant()) {
Review Comment:
Added the comparison against the singleton here.
--
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]