[jira] [Created] (FLINK-19509) ClassCastException for MULTISET type of JsonRowDataDeserializationSchema and JsonRowDataSerializationSchema

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

[jira] [Created] (FLINK-19509) ClassCastException for MULTISET type of JsonRowDataDeserializationSchema and JsonRowDataSerializationSchema

Shang Yuanchun (Jira)
hailong wang created FLINK-19509:
------------------------------------

             Summary: ClassCastException for MULTISET type of JsonRowDataDeserializationSchema and JsonRowDataSerializationSchema
                 Key: FLINK-19509
                 URL: https://issues.apache.org/jira/browse/FLINK-19509
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.11.0
            Reporter: hailong wang
             Fix For: 1.12.0


For JsonToRowDataConverters#createNotNullConverter  and RowDataToJsonConverters#

createNotNullConverter, We force the multiset type to be a Map type. This will cause exception:
{code:java}
java.lang.ClassCastException: org.apache.flink.table.types.logical.MultisetType cannot be cast to org.apache.flink.table.types.logical.MapType{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)