flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9696) Deep toString for arrays/map in SQL client
Date Sun, 01 Jul 2018 23:09:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-9696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529266#comment-16529266

ASF GitHub Bot commented on FLINK-9696:

Github user snuyanzin commented on the issue:

    Hello @hequn8128! Thank you for your review and comments.
    About PR template - I did changes based on proposed #5811. Please let me know if it is
acceptable or not.
    About `rowToString` agree. I think it makes sense and I added such tests. However I faced
with some strange behavior (I do not know if it is bug or whatever else). Commented on the
code about that. 

> Deep toString for arrays/map in SQL client 
> -------------------------------------------
>                 Key: FLINK-9696
>                 URL: https://issues.apache.org/jira/browse/FLINK-9696
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API &amp; SQL
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>              Labels: pull-request-available
> Currently SQL client does not show arrays/map in human readable way (please have a look
at examples below). e.g. {code}select map[1,2];{code} is shown as {noformat} +/-         
>    +         java.util.HashMap
> {noformat}
> {code}select array[1,2];{code} is shown as {noformat}
> +/-                    EXPR$0
>    +       java.lang.Integer[]
> {noformat} 
> {code}select array[map[1,2],map[2,2]];{code} is shown as {noformat} +/-             
>    +           java.util.Map[]{noformat}
> {code}select map[array[1,2], array[1,2]];{code} is shown as {noformat} +/-          
>    +         java.util.HashMap{noformat}

This message was sent by Atlassian JIRA

View raw message