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 Mon, 02 Jul 2018 17:00:00 GMT

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

ASF GitHub Bot commented on FLINK-9696:

Github user snuyanzin commented on the issue:

    @hequn8128 thank you for your idea about Row. I used it in tests. Also I checked usages
of `org.apache.flink.table.client.cli.CliStrings#NULL_COLUMN` it was added only recently and
used only in CliUtils before. For that reason I think it could be set to "null" what I did
in PR.  @twalthr @hequn8128  please let me know if you have any objections

> 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