hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Peterson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-2423) Add a One Row per Column-View or \G option to command line output
Date Wed, 31 Aug 2011 16:23:10 GMT
Add a One Row per Column-View or \G option to command line output
-----------------------------------------------------------------

                 Key: HIVE-2423
                 URL: https://issues.apache.org/jira/browse/HIVE-2423
             Project: Hive
          Issue Type: New Feature
          Components: CLI
    Affects Versions: 0.8.0, 0.9.0
         Environment: all
            Reporter: Jake Peterson
             Fix For: 0.8.0, 0.9.0


The hive client desperately needs better table output.  I think having a query option to send
output one column per line with the column name would desperately help looking at wide table
data.  Here I'm thinking of the \G option from the MySQL client.

So essentially the command line would get a new query ending token '\G'

Which would change the output to:

************* Row: 1 *******************
  Column_A: Value 1
  Column_B: Value 2
 Column_CD: 34565434
************* Row: 2 *******************
....

Right aligning the column names, with a single space before starting the value of that column
from the output table row. 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message