You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2014/02/22 03:06:20 UTC

[jira] [Updated] (HIVE-4545) HS2 should return describe table results without space padding

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

Vaibhav Gumashta updated HIVE-4545:
-----------------------------------

    Attachment: HIVE-4545.5.patch

New Rb link: https://reviews.apache.org/r/18390/ (couldn't update the previous one as Thejas was the creator).

This patch gets rid of the new config that was introduced in the previous patch (per [~hagleitn]'s feedback) by adding a way to detect whether the query is being served from HiveServer2.

> HS2 should return describe table results without space padding
> --------------------------------------------------------------
>
>                 Key: HIVE-4545
>                 URL: https://issues.apache.org/jira/browse/HIVE-4545
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Thejas M Nair
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-4545-1.patch, HIVE-4545.2.patch, HIVE-4545.3.patch, HIVE-4545.4.patch, HIVE-4545.5.patch
>
>
> HIVE-3140 changed behavior of 'DESCRIBE table;' to be like 'DESCRIBE FORMATTED table;'. HIVE-3140 introduced changes to not print header in 'DESCRIBE table;'. But jdbc/odbc calls still get fields padded with space for the 'DESCRIBE table;' query.
> As the jdbc/odbc results are not for direct human consumption the space padding should not be done for hive server2.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)