You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/03/29 04:11:15 UTC

[jira] [Commented] (HIVE-4252) hiveserver2 string representation of complex types are inconsistent with cli

    [ https://issues.apache.org/jira/browse/HIVE-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617027#comment-13617027 ] 

Thejas M Nair commented on HIVE-4252:
-------------------------------------

With the patch the string representation are valid json strings. That makes it easy to parse them .
I will create a patch to track converting them into proper jdbc complex types.

                
> hiveserver2 string representation of complex types are inconsistent with cli
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-4252
>                 URL: https://issues.apache.org/jira/browse/HIVE-4252
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-4252.1.patch
>
>
> For example, it prints struct as "[null, null, null]" instead of  "{\"r\":null,\"s\":null,\"t\":null}"
> And for maps it is printing it as "{k=v}" instead of {\"k\":\"v\"}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira