Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1403

Different arrays should be considered as different types in enums

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.5
    • None
    • spec
    • None
    • all

    Description

      When you try to create an union comprising say an array of ints and an array of strings, you get a ""Duplicate in union: array".
      I appreciate that this is in the spec, but the spec is wrong since an array of ints and an array of strings have different types.
      Two ways to fix this:

      • provide support for named arrays
      • dig into array element type

      Attachments

        Activity

          People

            Unassigned Unassigned
            orsonwelles Eric Vergnaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: