[ 
https://issues.apache.org/jira/browse/AVRO-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Izvekov updated AVRO-3573:
-------------------------------
    Description: If EnumSchema has duplicate symbols, an error will raise. 
Instead of a list of duplicate symbols or a value of duplicate symbol, error 
shows all list of symbols. Improvement removes this defect and shows a message 
"Duplicate symbol" with the symbol, if it is one, or "Duplicates symbols" with 
the list of duplicate symbols, if there are more than one symbol.  (was: If 
EnumSchema has duplicate symbols, an error will raise. Instead of a list of 
duplicate symbols or a value of duplicate symbol, error shows all list of 
symbols. Improvement removes this defect and shows a message "Duplicate symbol" 
with the symbol, if it is one, or "Duplicates symbols" with the list of 
duplicate symbols, if there are more than one symbol.

P.S. Tests do not check error's message. Try to write a test for checking a 
message of an error can take a long time.)

> Duplicate symbols (EnumSchema)
> ------------------------------
>
>                 Key: AVRO-3573
>                 URL: https://issues.apache.org/jira/browse/AVRO-3573
>             Project: Apache Avro
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Igor Izvekov
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.2
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> If EnumSchema has duplicate symbols, an error will raise. Instead of a list 
> of duplicate symbols or a value of duplicate symbol, error shows all list of 
> symbols. Improvement removes this defect and shows a message "Duplicate 
> symbol" with the symbol, if it is one, or "Duplicates symbols" with the list 
> of duplicate symbols, if there are more than one symbol.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to