Michael A. Smith created AVRO-3798:
--------------------------------------
Summary: Python CLI assumes unions are all named schema
Key: AVRO-3798
URL: https://issues.apache.org/jira/browse/AVRO-3798
Project: Apache Avro
Issue Type: Bug
Components: python
Affects Versions: 1.11.2
Reporter: Michael A. Smith
The `convert_union` function in avro/__main__ [directly accesses
schema.name|https://github.com/apache/avro/blob/3b6fd80289425fd4d7cfccfa86c066758d8a7ff6/lang/py/avro/__main__.py#L164],
which only works if the schema has a name. I think that's unnecessarily
limiting.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)