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

Robert Metzger updated FLINK-3966:
----------------------------------
    Component/s:     (was: Batch Connectors and Input/Output Formats)
                 Formats (JSON, Avro, Parquet, ORC, SequenceFile)

> AvroTypeInfo does not work with readonly avro specific records
> --------------------------------------------------------------
>
>                 Key: FLINK-3966
>                 URL: https://issues.apache.org/jira/browse/FLINK-3966
>             Project: Flink
>          Issue Type: Bug
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.0.2, 1.0.3
>            Reporter: Matthew Burghoffer
>            Priority: Minor
>
> When generating avro code, users will often supply createSetters=false and 
> fieldVisibility=private for Avro specific records (for effectively immutable 
> records).  This means that, according to TypeExtractor.isValidPojoField, the 
> object is not a valid pojo (though is completely a valid avro object) and the 
> TypeInformation factory will fail.
> Specific records are usually created using builders, so perhaps using this 
> mechanism for when creating a new record / mutating an existing record is 
> required.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to