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

Flink Jira Bot updated FLINK-3966:
----------------------------------
    Labels: stale-minor  (was: )

> 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
>              Labels: stale-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
(v8.3.4#803005)

Reply via email to