[
https://issues.apache.org/jira/browse/FLINK-20880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17261096#comment-17261096
]
tonychan commented on FLINK-20880:
----------------------------------
its a not an issue! its just need a better way to desc null and missing field
> 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}
> the schema is a,b,c running the code as bleow
> Row row = new Row(RowKind.INSERT,3);
> row.setField(0,1);
> row.setField(1,2);
> row.setField(2,3);
> System.out.println(row);
> a:1,2,3
> b:1,null,3
> c:1,null,3
> 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)