[
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:
https://github.com/apache/flink/pull/6233
@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 & 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} +/- 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)