You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/10/29 22:40:01 UTC
[jira] [Updated] (FLINK-20880) Turn Json String into Row
[ https://issues.apache.org/jira/browse/FLINK-20880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-20880:
-----------------------------------
Labels: auto-deprioritized-major stale-minor (was: auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.
> Turn Json String into Row
> --------------------------
>
> Key: FLINK-20880
> URL: https://issues.apache.org/jira/browse/FLINK-20880
> Project: Flink
> Issue Type: Improvement
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.12.0
> Reporter: tonychan
> Priority: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> 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)