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 2020/10/06 08:02:00 UTC

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

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)