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 1330B11B68 for ; Tue, 23 Sep 2014 17:35:37 +0000 (UTC) Received: (qmail 22806 invoked by uid 500); 23 Sep 2014 17:35:36 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 22611 invoked by uid 500); 23 Sep 2014 17:35:35 -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 22595 invoked by uid 500); 23 Sep 2014 17:35:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 22590 invoked by uid 99); 23 Sep 2014 17:35:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 17:35:35 +0000 Date: Tue, 23 Sep 2014 17:35:35 +0000 (UTC) From: "Jeremy Beard (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6683) Beeline does not accept comments at end of line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145092#comment-14145092 ] Jeremy Beard commented on HIVE-6683: ------------------------------------ [~spena] That example is for a comment at the start of the line. Could you please confirm the example as listed in the JIRA description? > Beeline does not accept comments at end of line > ----------------------------------------------- > > Key: HIVE-6683 > URL: https://issues.apache.org/jira/browse/HIVE-6683 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.10.0 > Reporter: Jeremy Beard > > Beeline fails to read queries where lines have comments at the end. This works in the embedded Hive CLI. > Example: > SELECT > 1 -- this is a comment about this value > FROM > table; > Error: Error while processing statement: FAILED: ParseException line 1:36 mismatched input '' expecting FROM near '1' in from clause (state=42000,code=40000) -- This message was sent by Atlassian JIRA (v6.3.4#6332)