You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "hailong wang (Jira)" <ji...@apache.org> on 2021/01/05 14:15:00 UTC
[jira] [Created] (FLINK-20853) Add reader schema null check for
AvroDeserializationSchema when recordClazz is GenericRecord
hailong wang created FLINK-20853:
------------------------------------
Summary: 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
Fix For: 1.13.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.3.4#803005)