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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
