Taranpreet Kaur created FLINK-40215:
---------------------------------------

             Summary: 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


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)

Reply via email to