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

Weijie Guo updated FLINK-20853:
-------------------------------
    Affects Version/s: 2.1.0
                           (was: 1.12.0)

> Add reader schema null check for AvroDeserializationSchema when recordClazz 
> is GenericRecord 
> ---------------------------------------------------------------------------------------------
>
>                 Key: FLINK-20853
>                 URL: https://issues.apache.org/jira/browse/FLINK-20853
>             Project: Flink
>          Issue Type: Improvement
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 2.1.0
>            Reporter: hailong wang
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Reader schema can not be null when recordClazz is GenericRecord.
> Although its constructor is default, this will cause NPE when reader schema 
> is null and recordClazz is GenericRecord for the class extends it, such as 
> RegistryAvroDeserializationSchema.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to