[
https://issues.apache.org/jira/browse/HIVE-6928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031508#comment-14031508
]
Szehon Ho commented on HIVE-6928:
---------------------------------
The concern does make sense. I only have mysql now, and saw they are wrapping
long lines by default.
I dont have that much DB-CLI exp, but Beeline is the only one I've seen that by
default sets each Row's max-width to be the console width at startup time.
Then it keeps truncating to that size even if you resize the window, it's not a
great experience. Changing the default (table format) to wrap long lines like
mysql sounds better to better. Thoughts?
> 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.1.patch, HIVE-6928.2.patch, HIVE-6928.patch
>
>
> By default, beeline truncates long results based on the console width like:
> {code}
> +-----------------------------+----------------------------------------------------------------------------------------------------------------------+
> | 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)
> {code}
> 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)