[
https://issues.apache.org/jira/browse/AVRO-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Hammerbacher updated AVRO-207:
-----------------------------------
Attachment: AVRO-207.patch
Added both schemas to the EXAMPLE_SCHEMAS that get tested in test_schema.py.
Both now throw an AvroException.
Question: do we need to update the specification to indicate that an enum's
list of symbols cannot contain a duplicate?
> python parser doesn't check for ambiguous unions/enums
> ------------------------------------------------------
>
> Key: AVRO-207
> URL: https://issues.apache.org/jira/browse/AVRO-207
> Project: Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.2.0
> Reporter: Patrick Hunt
> Assignee: Jeff Hammerbacher
> Priority: Minor
> Attachments: AVRO-207.patch
>
>
> The python parser doesn't flag these as ambiguous (java flags the union, but
> not the enum)
> "response": {"name":"E1", "type":"enum", "symbols":["AA", "AA"]},
> "response": ["long","long"],
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.