Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1FCB174AB for ; Mon, 29 Sep 2014 15:28:35 +0000 (UTC) Received: (qmail 52243 invoked by uid 500); 29 Sep 2014 15:28:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 52043 invoked by uid 500); 29 Sep 2014 15:28:34 -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 51836 invoked by uid 500); 29 Sep 2014 15:28:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 51811 invoked by uid 99); 29 Sep 2014 15:28:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 15:28:34 +0000 Date: Mon, 29 Sep 2014 15:28:34 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8182) beeline fails when executing multiple-line queries with trailing spaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8182?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Pe=C3=B1a updated HIVE-8182: ------------------------------ Status: Patch Available (was: Open) Trim the line once instead of doing it on every line. > beeline fails when executing multiple-line queries with trailing spaces > ----------------------------------------------------------------------- > > Key: HIVE-8182 > URL: https://issues.apache.org/jira/browse/HIVE-8182 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.1, 0.12.0 > Reporter: Yongzhi Chen > Assignee: Sergio Pe=C3=B1a > Fix For: 0.14.0 > > Attachments: HIVE-8181.1.patch, HIVE-8182.1.patch, HIVE-8182.2.pa= tch > > > As title indicates, when executing a multi-line query with trailing space= s, beeline reports syntax error:=20 > Error: Error while compiling statement: FAILED: ParseException line 1:76 = extraneous input ';' expecting EOF near '' (state=3D42000,code=3D40000= ) > If put this query in one single line, beeline succeeds to execute it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)