You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2019/04/03 22:10:00 UTC

[jira] [Commented] (HIVE-21571) SHOW COMPACTIONS shows column names as its first output row

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

Todd Lipcon commented on HIVE-21571:
------------------------------------

{code}
+---------------+-----------+----------+------------+--------+------------+-----------+-------------+---------------+--------------+
| compactionid  |  dbname   | tabname  |  partname  |  type  |   state    | workerid  |  starttime  |   duration    | hadoopjobid  |
+---------------+-----------+----------+------------+--------+------------+-----------+-------------+---------------+--------------+
| CompactionId  | Database  | Table    | Partition  | Type   | State      | Worker    | Start Time  | Duration(ms)  | HadoopJobId  |
| 1             | default   | t2       |  ---       | MAJOR  | initiated  |  ---      |  ---        |  ---          | None         |
+---------------+-----------+----------+------------+--------+------------+-----------+-------------+---------------+--------------+
2 rows selected (0.034 seconds)
{code}

> SHOW COMPACTIONS shows column names as its first output row
> -----------------------------------------------------------
>
>                 Key: HIVE-21571
>                 URL: https://issues.apache.org/jira/browse/HIVE-21571
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Todd Lipcon
>            Priority: Major
>
> SHOW COMPACTIONS yields a resultset with nice column names, and then the first row of data is a repetition of those column names. This is somewhat confusing and hard to read.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)