You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Tim Perkins (Jira)" <ji...@apache.org> on 2020/04/28 20:08:00 UTC

[jira] [Commented] (AVRO-2821) Add default values to enums

    [ https://issues.apache.org/jira/browse/AVRO-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094847#comment-17094847 ] 

Tim Perkins commented on AVRO-2821:
-----------------------------------

There is a PR for this here: [https://github.com/apache/avro/pull/628]

I guess I should go ahead and merge it :)

> Add default values to enums
> ---------------------------
>
>                 Key: AVRO-2821
>                 URL: https://issues.apache.org/jira/browse/AVRO-2821
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: ruby
>    Affects Versions: 1.9.2
>            Reporter: Daniel Orner
>            Assignee: Daniel Orner
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)