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

Timo Walther updated FLINK-11569:
---------------------------------
    Comment: was deleted

(was: 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 
Major but is unassigned and neither itself nor its Sub-Tasks have been updated 
for 30 days. I have gone ahead and added a "stale-major" to the issue". If this 
ticket is a Major, please either assign yourself or give an update. Afterwards, 
please remove the label or in 7 days the issue will be deprioritized.
)

> 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: API / Type Serialization System
>            Reporter: Rong Rong
>            Priority: Minor
>              Labels: auto-deprioritized-major, auto-unassigned, 
> pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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]
> New changes should be simple to have a dedicated wrapper for the "row" 
> stringify format, something like:
> {code:java}
> ("a",1,("b",2))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to