hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6928) Beeline should not chop off "describe extended" results by default
Date Wed, 21 May 2014 19:26:39 GMT

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

Szehon Ho commented on HIVE-6928:
---------------------------------

Thanks [~chinnalalam] for the fix.  

One minor nit here, as there is no review-board, do you think it would be better to call BufferedRows
constructor width argument to be 'consoleWidth' for clarity, to disambiguate from row width.

I was also wondering do we need an upper-bound as now it will show entire result length even
if its huge, but Hive CLI did not have that either.

> Beeline should not chop off "describe extended" results by default
> ------------------------------------------------------------------
>
>                 Key: HIVE-6928
>                 URL: https://issues.apache.org/jira/browse/HIVE-6928
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Szehon Ho
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-6928.patch
>
>
> By default, beeline truncates long results based on the console width like:
> +-----------------------------+----------------------------------------------------------------------------------------------------------------------+
> |          col_name           |                                                     
                                                                |
> +-----------------------------+----------------------------------------------------------------------------------------------------------------------+
> | pat_id                      | string                                              
                                                                |
> | score                       | float                                               
                                                                |
> | acutes                      | float                                               
                                                                |
> |                             |                                                     
                                                                |
> | Detailed Table Information  | Table(tableName:refills, dbName:default, owner:hdadmin,
createTime:1393882396, lastAccessTime:0, retention:0, sd:Sto |
> +-----------------------------+----------------------------------------------------------------------------------------------------------------------+
> 5 rows selected (0.4 seconds)
> This can be changed by !outputformat, but the default should behave better to give a
better experience to the first-time beeline user.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message