You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rong Rong (JIRA)" <ji...@apache.org> on 2019/02/09 22:58:00 UTC

[jira] [Updated] (FLINK-11569) Row type does not serialize in to readable format when invoke "toString" method

     [ https://issues.apache.org/jira/browse/FLINK-11569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rong Rong updated FLINK-11569:
------------------------------
    Description: 
Seems like the "toString" method for Row type is only concatenating all fields using COMMA ",". However it does not wrap the entire Row in some type of encapsulation, for example "()". This results in nested Row being serialized as if they are all in one level.

For example: 
{code:java}
Row.of("a", 1, Row.of("b", 2))
{code}
is printed out as 
{code:java}
"a",1,"b",2
{code}

  was:
Seems like the "toString" method for Row type is only concatenating all fields using COMMA ",". However it does not wrap the entire Row in some type of encapsulation, for example "()". This results in nested Row being serialized as if they are all in one level.

For example: {{Row.of("a", 1, Row.of("b", 2))}} is printed out as {{"a",1,"b",2}}. 


> Row type does not serialize in to readable format when invoke "toString" method
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-11569
>                 URL: https://issues.apache.org/jira/browse/FLINK-11569
>             Project: Flink
>          Issue Type: Bug
>          Components: Type Serialization System
>            Reporter: Rong Rong
>            Assignee: Rong Rong
>            Priority: Major
>
> Seems like the "toString" method for Row type is only concatenating all fields using COMMA ",". However it does not wrap the entire Row in some type of encapsulation, for example "()". This results in nested Row being serialized as if they are all in one level.
> For example: 
> {code:java}
> Row.of("a", 1, Row.of("b", 2))
> {code}
> is printed out as 
> {code:java}
> "a",1,"b",2
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)