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 2BBA311EF9 for ; Fri, 4 Jul 2014 04:26:34 +0000 (UTC) Received: (qmail 7433 invoked by uid 500); 4 Jul 2014 04:26:33 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 7368 invoked by uid 500); 4 Jul 2014 04:26:33 -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 7357 invoked by uid 500); 4 Jul 2014 04:26:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 7354 invoked by uid 99); 4 Jul 2014 04:26:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 04:26:33 +0000 Date: Fri, 4 Jul 2014 04:26:33 +0000 (UTC) From: "Ashish Kumar Singh (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7340) Beeline fails to read a query with comments correctly. 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-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052152#comment-14052152 ] Ashish Kumar Singh commented on HIVE-7340: ------------------------------------------ The test errors do not look related to the fix. > Beeline fails to read a query with comments correctly. > ------------------------------------------------------- > > Key: HIVE-7340 > URL: https://issues.apache.org/jira/browse/HIVE-7340 > Project: Hive > Issue Type: Bug > Reporter: Ashish Kumar Singh > Assignee: Ashish Kumar Singh > Attachments: HIVE-7340.patch > > > Comment in the beginning of line works: > 0: jdbc:hive2://localhost:10000> select > . . . . . . . . . . . . . . . .> -- comment > . . . . . . . . . . . . . . . .> * from store > . . . . . . . . . . . . . . . .> limit 1; > but, having comments not in the beginning ignores rest of the query. So, limit 1 is ignored here. > 0: jdbc:hive2://localhost:10000> select > . . . . . . . . . . . . . . . .> * from store -- comment > . . . . . . . . . . . . . . . .> limit 1; > However, this is fine with Hive CLI. -- This message was sent by Atlassian JIRA (v6.2#6252)