Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 37320200B44 for ; Thu, 14 Jul 2016 10:26:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35B23160A63; Thu, 14 Jul 2016 08:26:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7D526160A52 for ; Thu, 14 Jul 2016 10:26:45 +0200 (CEST) Received: (qmail 8565 invoked by uid 500); 14 Jul 2016 08:26:44 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 8553 invoked by uid 99); 14 Jul 2016 08:26:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2016 08:26:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 91F5FC178D for ; Thu, 14 Jul 2016 08:26:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id m56MRXSAd9UL for ; Thu, 14 Jul 2016 08:26:42 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 608215F24C for ; Thu, 14 Jul 2016 08:26:42 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id w18so107314393oiw.3 for ; Thu, 14 Jul 2016 01:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=3pouf7cuteyEQot6Jpra/Es7CcfDaap96CDBb9KOqRk=; b=vShYiF4LQR3HP8liXOUNgellX9V1VYRGKk2NNe0fUtoh4rsLEn4htMXOVL6IymT5UX msnn8ZnT4n5/CWmpjed9Mcc/Qi7726EV2Bci52auTtAZ1HJC1OJl12zbHhsJxvHqEiy6 8Vtz/a6c5kzrCo7kaBKNKELdhuGvfESfN/EZU4IBcCVIZsTQZa6kVmrO9uo3SdQaulln +YiNM8SpuBdQgTOJBucsJ5DdFkEDYqu94H2gKg6fV5XfOV1q8zPtQRewNyTyJMA76mPQ /pu8DrCwHYlHLmN1Xt9yeaQ+T5iZHTRobFTAmdhtpV5Tr8kHu5ylF0ZAUOHSvbar35gK /FYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=3pouf7cuteyEQot6Jpra/Es7CcfDaap96CDBb9KOqRk=; b=REnHhrWcBHpRi932M3N+nSeefwX26z76dT/qnEs8GSPFIiSO8Y5tsIj6Og0aukIvUI mn435WZsA2RaIysbydyz7BQ0kJX8FyDtjCW4MqIfP93sO2gdMz0E3rPu5ZkS+Z6zbrL3 wTFs/NhmtT5yfL7zFEdxeiAjsOEOcN9+Jy7194ZlUAsDcOg2pjn8LYYdx6GP84WgWPkL 0S1e71SWC3Z5lMTklCIyclpto8gc/TZmwbhHKwJIC7j+vIgfOwDkHDeqThmX/ihtG/Em Z4LNwHzVRyB4hXyurwGv3pZ+PTFQynPxai0wr3zaglA7aTI2ZHskBSx2rN4VsgyABCHP bQDA== X-Gm-Message-State: ALyK8tKdTgqRKyro6rVhv8X5rs88Dlyuh8svpHLRR3oP/OqzVRekrP/oXFUczomqdTPHVBOyI+U5aQkm0ZjKuw== X-Received: by 10.157.52.200 with SMTP id t8mr8330207otd.90.1468484794659; Thu, 14 Jul 2016 01:26:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.27.1 with HTTP; Thu, 14 Jul 2016 01:26:33 -0700 (PDT) In-Reply-To: References: From: Lefty Leverenz Date: Thu, 14 Jul 2016 04:26:33 -0400 Message-ID: Subject: Re: [jira] [Commented] (HIVE-14135) beeline output not formatted correctly for large column widths To: dev@hive.apache.org Content-Type: multipart/alternative; boundary=001a113eceb08b3d3305379442bc archived-at: Thu, 14 Jul 2016 08:26:46 -0000 --001a113eceb08b3d3305379442bc Content-Type: text/plain; charset=UTF-8 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) 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) > --001a113eceb08b3d3305379442bc--