[ https://issues.apache.org/jira/browse/HIVE-6928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ferdinand updated HIVE-6928: ---------------------------- Attachment: HIVE-6928.3 .patch A patch which change the default table format wrapping long lines like mysql is attached. In this patch, an option (--truncateTable) is added which is false by default. It means table output format will wrap the long lines when it is set to false. If user wants to truncate long lines, add option --truncate in beeline command. Besides that, we can file a bug to add ellipsis at the end of truncated item in order to highlighting it is truncated. > 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.3 > .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)