[
https://issues.apache.org/jira/browse/AVRO-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17977633#comment-17977633
]
ASF subversion and git services commented on AVRO-4133:
-------------------------------------------------------
Commit 1eed38fbb880ce0ab6f2d278d242c898b1512e5e in avro's branch
refs/heads/branch-1.12 from Sivaprasanna
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=1eed38fbb8 ]
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 <[email protected]>
(cherry picked from commit 5f7c2d36c72c08e3da5fa5f7be595841b4ef5c88)
> 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
> Fix For: 1.12.1, 1.13.0
>
> 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)