You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/08/03 21:41:56 UTC
[GitHub] [beam] johnclara commented on issue #22574: [Bug]: Non-Option Avro Union with generated SpecificRecord
johnclara commented on issue #22574:
URL: https://github.com/apache/beam/issues/22574#issuecomment-1204514335
Following up on this, it looks like the AvroUtils.AvroSpecificRecordFieldValueTypeSupplier does not check the schema for a LogicalType with a OneOfType.IDENTIFIER in order to handle this case. The ProtoMessageSchema.ProtoClassFieldValueTypeSupplier does do something like this:
See AvroUtils: https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/utils/AvroUtils.java#L663
and ProtoClassFieldValueTypeSupplier: https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/utils/AvroUtils.java#L663
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org