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 E59EC116A8 for ; Tue, 8 Jul 2014 23:08:04 +0000 (UTC) Received: (qmail 64386 invoked by uid 500); 8 Jul 2014 23:08:04 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 64307 invoked by uid 500); 8 Jul 2014 23:08:04 -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 64296 invoked by uid 500); 8 Jul 2014 23:08:04 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 64293 invoked by uid 99); 8 Jul 2014 23:08:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 23:08:04 +0000 Date: Tue, 8 Jul 2014 23:08:04 +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=14055643#comment-14055643 ] Ashish Kumar Singh commented on HIVE-7340: ------------------------------------------ [~navis] this is similar to the one you reviewed recently. Do you mind taking a look? > 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)