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 15CF9174A0 for ; Mon, 29 Sep 2014 15:27:35 +0000 (UTC) Received: (qmail 45748 invoked by uid 500); 29 Sep 2014 15:27:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 45669 invoked by uid 500); 29 Sep 2014 15:27: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 45651 invoked by uid 500); 29 Sep 2014 15:27:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 45647 invoked by uid 99); 29 Sep 2014 15:27: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:27:34 +0000 Date: Mon, 29 Sep 2014 15:27:33 +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] [Commented] (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:comment-tabpanel&focusedCommentId=3D14151= 789#comment-14151789 ]=20 Sergio Pe=C3=B1a commented on HIVE-8182: ----------------------------------- Thanks [~ychena] I agree with having only one trimming instead of doing it every line. We ca= n reduce extra work on Hive by using your suggestion. I did the test and it= worked. I'll upload another patch. > 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.12.0, 0.13.1 > 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)