You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/06/10 06:19:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17958220#comment-17958220 ] 

ASF subversion and git services commented on AVRO-4133:
-------------------------------------------------------

Commit 5f7c2d36c72c08e3da5fa5f7be595841b4ef5c88 in avro's branch refs/heads/main from Sivaprasanna
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=5f7c2d36c7 ]

AVRO-4133: Support default enum value in Protobuf to Avro (#3367)

* [AVRO-4133] Support default enum value in Protobuf to Avro

* [AVRO-4133] Add unit test for proto schema enum default

* [AVRO-4133] Exclude generated test proto code

---------

Co-authored-by: sivaprasanna <si...@sivaprasannas-MacBook-Air.local>

> 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 10m
>  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)