Uploaded image for project: 'Crunch'
  1. Crunch
  2. CRUNCH-358

Invalid optional field declaration in person.avsc

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0, 0.8.3
    • Component/s: Core
    • Labels:
      None

      Description

      The siblingnames field in person.avsc has a default value of null, even though the first branch of the union is an array of string (not null). This is not a valid Avro schema (see AVRO-1449) and should be fixed by reversing the types in the union.

        Attachments

        1. CRUNCH-358.patch
          0.5 kB
          Thomas White

          Activity

            People

            • Assignee:
              tomwhite Thomas White
              Reporter:
              tomwhite Thomas White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: