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 62815200B7E for ; Tue, 23 Aug 2016 02:54:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6123B160AB3; Tue, 23 Aug 2016 00:54:22 +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 9D811160ABD for ; Tue, 23 Aug 2016 02:54:21 +0200 (CEST) Received: (qmail 65069 invoked by uid 500); 23 Aug 2016 00:54:20 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 64973 invoked by uid 99); 23 Aug 2016 00:54:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 00:54:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9270E2C0154 for ; Tue, 23 Aug 2016 00:54:20 +0000 (UTC) Date: Tue, 23 Aug 2016 00:54:20 +0000 (UTC) From: "Sahil Takiar (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14606) Beeline fails if quoted string ends with \\ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 00:54:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sahil Takiar updated HIVE-14606: -------------------------------- Attachment: HIVE-14606.1.patch > Beeline fails if quoted string ends with \\ > ------------------------------------------- > > Key: HIVE-14606 > URL: https://issues.apache.org/jira/browse/HIVE-14606 > Project: Hive > Issue Type: Bug > Components: Beeline > Reporter: Sahil Takiar > Assignee: Sahil Takiar > Attachments: HIVE-14606.1.patch > > > The following query fails in Beeline > {code} > select '\\' as literal; > {code} > Exception: > {code} > FAILED: ParseException line 1:22 extraneous input ';' expecting EOF near '' > 16/08/22 15:46:15 [023ddb3b-1f3c-4db6-bd4e-bba392d6e4bb main]: ERROR ql.Driver: FAILED: ParseException line 1:22 extraneous input ';' expecting EOF near '' > org.apache.hadoop.hive.ql.parse.ParseException: line 1:22 extraneous input ';' expecting EOF near '' > at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:215) > at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:414) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:335) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1226) > at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1195) > at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:197) > at org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:282) > at org.apache.hive.service.cli.operation.Operation.run(Operation.java:324) > at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:497) > at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementAsync(HiveSessionImpl.java:485) > at org.apache.hive.service.cli.CLIService.executeStatementAsync(CLIService.java:294) > at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:505) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1412) > at com.sun.proxy.$Proxy30.ExecuteStatement(Unknown Source) > at org.apache.hive.jdbc.HiveStatement.runAsyncOnServer(HiveStatement.java:309) > at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:250) > at org.apache.hive.beeline.Commands.executeInternal(Commands.java:976) > at org.apache.hive.beeline.Commands.execute(Commands.java:1132) > at org.apache.hive.beeline.Commands.sql(Commands.java:1062) > at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:1168) > at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:999) > at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:909) > at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:511) > at org.apache.hive.beeline.BeeLine.main(BeeLine.java:494) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {code} > This bug is a regression introduced by HIVE-12646 -- This message was sent by Atlassian JIRA (v6.3.4#6332)