[
https://issues.apache.org/jira/browse/HIVE-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated HIVE-4191:
--------------------------------
Attachment: HIVE-4191.2.patch
HIVE-4191.2.patch - Change to not print the headers in case of 'describe
<tablename>' command, when formatted keyword is not used.
This makes the command consistent with other commands such as 'describe
database <dbname>'.
This prevents the issue of duplicate headers for this particular command, when
you run it from beeline (which looks at metadata and prints header for all
commands).
> describe table output always prints as if formatted keyword is specified
> ------------------------------------------------------------------------
>
> Key: HIVE-4191
> URL: https://issues.apache.org/jira/browse/HIVE-4191
> Project: Hive
> Issue Type: Bug
> Components: CLI, HiveServer2
> Affects Versions: 0.10.0
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Attachments: HIVE-4191.1.patch, HIVE-4191.2.patch
>
>
> With the change in HIVE-3140, describe table output prints like the format
> expected from "describe *formatted* table". ie, the headers are included and
> there is padding with space for the fields.
> This is a non backward compatible change, we should discuss if this change in
> the formatting of output should remain.
> This has impact on hiveserver2, it has been relying on the old format, and
> with this change it prints additional headers and fields with space padding.
--
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