Abacn commented on code in PR #36839:
URL: https://github.com/apache/beam/pull/36839#discussion_r2535313955
##########
sdks/java/extensions/avro/src/main/java/org/apache/beam/sdk/extensions/avro/schemas/utils/AvroUtils.java:
##########
@@ -1230,6 +1240,18 @@ private static org.apache.avro.Schema getFieldSchema(
return value;
}
+ // Handle implicit up-cast: use avroSchema
+ if (INT_AVRO_TYPE.equals(typeWithNullability.type)) {
Review Comment:
This mirrors https://github.com/apache/avro/pull/737
--
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]