You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Oscar Westra van Holthe - Kind (Jira)" <ji...@apache.org> on 2025/06/10 06:20:00 UTC

[jira] [Resolved] (AVRO-4133) Create EnumSchema with default symbol for Protobuf Enum

     [ https://issues.apache.org/jira/browse/AVRO-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oscar Westra van Holthe - Kind resolved AVRO-4133.
--------------------------------------------------
    Resolution: Fixed

> Create EnumSchema with default symbol for Protobuf Enum
> -------------------------------------------------------
>
>                 Key: AVRO-4133
>                 URL: https://issues.apache.org/jira/browse/AVRO-4133
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Sivaprasanna Sethuraman
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When converting Protobuf Descriptor to Avro Schema, the EnumDescriptor is converted to an enum schema without default value. IMO, since the first symbol in protobuf enum field is considered to be the default value, we can use that as the default.



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