That looks like a cut-&-paste error. Here's what the wiki says for --maxWidth: "The maximum width to display before truncating data, in characters, when *outputformat* is table. Default is to query the terminal for current width, then fall back to 80."
-- Lefty On Wed, Jul 13, 2016 at 8:15 PM, Vihang Karajgaonkar (JIRA) <j...@apache.org > wrote: > > [ > https://issues.apache.org/jira/browse/HIVE-14135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376046#comment-15376046 > ] > > Vihang Karajgaonkar commented on HIVE-14135: > -------------------------------------------- > > Thanks [~spena] for taking a look. Can you take a look at the latest > review (version 2 in the review board)? The setup() method is removed. > > I think DEFAULT_MAX_WIDTH is the max line (row) width and > DEFAULT_MAX_COLUMN_WIDTH is the max width for column. According to > documentation > https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients > > --maxWidth=MAXWIDTH The maximum column width, in characters, when > outputformat is table. Default is 15. > Usage: beeline --maxColumnWidth=25 > > --maxColumnWidth=MAXCOLWIDTH The maximum column width, in characters, > when outputformat is table. Default is 15. > Usage: beeline --maxColumnWidth=25 > > > > > beeline output not formatted correctly for large column widths > > -------------------------------------------------------------- > > > > Key: HIVE-14135 > > URL: https://issues.apache.org/jira/browse/HIVE-14135 > > Project: Hive > > Issue Type: Bug > > Components: Beeline > > Affects Versions: 2.2.0 > > Reporter: Vihang Karajgaonkar > > Assignee: Vihang Karajgaonkar > > Attachments: HIVE-14135.1.patch, HIVE-14135.2.patch, > longKeyValues.txt, output_after.txt, output_before.txt > > > > > > If the column width is too large then beeline uses the maximum column > width when normalizing all the column widths. In order to reproduce the > issue, run set -v; > > Once the configuration variables is classpath which can be extremely > large width (41k characters in my environment). > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) >