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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)