jonvex commented on code in PR #9743:
URL: https://github.com/apache/hudi/pull/9743#discussion_r1357319904


##########
hudi-common/src/main/java/org/apache/hudi/avro/AvroSchemaCompatibility.java:
##########
@@ -372,7 +372,8 @@ private SchemaCompatibilityResult 
calculateCompatibility(final Schema reader, fi
             return (writer.getType() == Type.STRING) ? result : 
result.mergedWith(typeMismatch(reader, writer, locations));
           }
           case STRING: {
-            return (writer.getType() == Type.BYTES) ? result : 
result.mergedWith(typeMismatch(reader, writer, locations));
+            return ((writer.getType() == Type.BYTES) || (writer.getType() == 
Type.INT) || (writer.getType() == Type.LONG)

Review Comment:
   does it?



-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to