[ https://issues.apache.org/jira/browse/HIVE-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619185#comment-13619185 ]
Ashutosh Chauhan commented on HIVE-4252: ---------------------------------------- I see. If spec doesn't mandate it one way or the other, than sticking to what cli already does is best, since than hive will be consistent. And json format which cli uses is a good format as it makes parsing back and forth easier. +1 will commit if tests pass. > 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, HIVE-4252.2.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