You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:06 UTC

[jira] [Updated] (FLINK-20853) Add reader schema null check for AvroDeserializationSchema when recordClazz is GenericRecord

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

Yun Gao updated FLINK-20853:
----------------------------
    Fix Version/s: 1.16.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: 1.12.0
>            Reporter: hailong wang
>            Priority: Minor
>             Fix For: 1.15.0, 1.16.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.1#820001)