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

Add default values to enums

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.9.2
    • 1.10.0
    • ruby
    • None

    Description

      Avro specification 1.9.2 includes the ability to specify default values for enums:

      https://avro.apache.org/docs/1.9.2/spec.html#Enums

      This is currently missing from the Ruby specification and any enums that don't match exactly will throw validation errors.

      Will start working on a PR for this.

      Attachments

        Activity

          People

            daniel.orner Daniel Orner
            daniel.orner Daniel Orner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: