[
https://issues.apache.org/jira/browse/FLINK-40215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18105800#comment-18105800
]
Taranpreet Kaur commented on FLINK-40215:
-----------------------------------------
Hi [~beetleyibo] ,
I have to discuss this Jira in community before working on it.
> AvroSerializer is not adhering to pojo rules of avro generation
> ---------------------------------------------------------------
>
> Key: FLINK-40215
> URL: https://issues.apache.org/jira/browse/FLINK-40215
> Project: Flink
> Issue Type: Bug
> Components: API / Type Serialization System
> Affects Versions: 2.2.1
> Reporter: Taranpreet Kaur
> Priority: Major
>
> For reserved keywords avro generate fields and methods with $.
> For Example: For word "interface" it will generate field "interface$" and
> method "getInterface$".
> But if we capitalize the reserved keyword then field will be generated
> without $ but method will be generated with $
> For Example: For word "Interface" it will generate field "Interface" and
> method will be "getInterface$".
>
> This fails the pojo analysis as field name and method name do not follow the
> same name structure. Need to make changes so that for Avro Serializer, it
> should follow avro generation rules for pojo analysis.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)