You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (JIRA)" <ji...@apache.org> on 2018/06/30 16:16:00 UTC

[jira] [Updated] (FLINK-9696) Deep toString for arrays/map in SQL client

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

Sergey Nuyanzin updated FLINK-9696:
-----------------------------------
    Component/s: Table API & SQL

> 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
>
> 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} +/-                    EXPR$0
>    +         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} +/-                    EXPR$0
>    +           java.util.Map[]{noformat}
> {code}select map[array[1,2], array[1,2]];{code} is shown as {noformat} +/-                    EXPR$0
>    +         java.util.HashMap{noformat}



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