You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/11 12:51:00 UTC

[jira] [Work logged] (AVRO-3573) Duplicate symbols (EnumSchema)

     [ https://issues.apache.org/jira/browse/AVRO-3573?focusedWorklogId=789512&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-789512 ]

ASF GitHub Bot logged work on AVRO-3573:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jul/22 12:50
            Start Date: 11/Jul/22 12:50
    Worklog Time Spent: 10m 
      Work Description: izveigor commented on PR #1759:
URL: https://github.com/apache/avro/pull/1759#issuecomment-1180370645

   Hello, @martin-g!
   Thanks to the response!
   
   I added two test cases.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 789512)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>             Fix For: 1.11.1
>
>          Time Spent: 10m
>  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.
> 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.



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