RRap0so commented on code in PR #35459: URL: https://github.com/apache/beam/pull/35459#discussion_r2177011834
########## sdks/python/apache_beam/io/avroio.py: ########## @@ -554,7 +554,8 @@ def avro_union_type_to_beam_type(union_type: List) -> schema_pb2.FieldType: """ if len(union_type) == 2 and "null" in union_type: for avro_type in union_type: - if avro_type in AVRO_PRIMITIVES_TO_BEAM_PRIMITIVES: + if isinstance(avro_type, Review Comment: Hey @damccorm, Thanks for the comment. I took a simpler approach but I think it solve the issue. -- 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-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org