[ https://issues.apache.org/jira/browse/FLINK-11569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774734#comment-16774734 ]
Rong Rong edited comment on FLINK-11569 at 2/22/19 3:45 AM: ------------------------------------------------------------ [~twalthr] [~fhueske] any thought on this JIRA? my feeling is that this is a problem but not so much critical as it doesn't break the system itself. But I myself found out about this in the hard way so it does affect debuggability of flink users/developers. However in order to fix this there's going to be a huge amount of changes on many test files. So would like to get your opinions first before I dive into the actual changes. was (Author: walterddr): [~twalthr] [~fhueske] any thought on this JIRA? my feeling is that this is a problem but not so much critical as it doesn't break the system itself. However in order to fix this there's going to be a huge amount of changes on many test files. So would like to get your opinions first before I dive into the actual changes. > 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} > Problematic piece of code can be found here: > https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/types/Row.java#L87 -- This message was sent by Atlassian JIRA (v7.6.3#76005)