You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2021/01/08 02:01:00 UTC
[jira] [Commented] (FLINK-20880) Turn Json String into Row
[ https://issues.apache.org/jira/browse/FLINK-20880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260921#comment-17260921 ]
Shengkai Fang commented on FLINK-20880:
---------------------------------------
Could you give a more concreate description about this issue? I think it's better to split one sentence into multiple sentences for others to understand.
I don't understand what's the output of the message b and message c after transformation from json string to row.
> Turn Json String into Row
> --------------------------
>
> Key: FLINK-20880
> URL: https://issues.apache.org/jira/browse/FLINK-20880
> Project: Flink
> Issue Type: Improvement
> Components: API / Core
> Affects Versions: 1.12.0
> Reporter: tonychan
> Priority: Major
>
> schema has three params ,a,b,c
> message a:\{ "a": 1, "b": 1, "c": 2}
> message b:\{ "a": 1, "b": null, "c": 2}
> message c:\{ "a": 1, "c": 2}
>
> turn message into row , message a is ok, but we cant distinguish message b and message c if we use null, when deal message c ,we must use like NaN row(2,NaN), i think row need a easy way to show message b and message c with row
>
>
>
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)