You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/10/10 07:57:00 UTC
[jira] [Commented] (FLINK-19509) ClassCastException for MULTISET
type of JsonRowDataDeserializationSchema and JsonRowDataSerializationSchema
[ https://issues.apache.org/jira/browse/FLINK-19509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211598#comment-17211598 ]
Jark Wu commented on FLINK-19509:
---------------------------------
Implemented in master: d4f2abb278047180cd174febc45acb432f5b0735
> 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
> Assignee: hailong wang
> Priority: Major
> Labels: pull-request-available
> 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)