You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2023/03/23 08:52:19 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 ]
Xintong Song updated FLINK-20853:
---------------------------------
Fix Version/s: 1.18.0
(was: 1.17.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.18.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)