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 65F8D200B6D for ; Tue, 9 Aug 2016 07:35:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 649D2160AB4; Tue, 9 Aug 2016 05:35: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 A8D94160A91 for ; Tue, 9 Aug 2016 07:35:21 +0200 (CEST) Received: (qmail 68303 invoked by uid 500); 9 Aug 2016 05:35:20 -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 68281 invoked by uid 99); 9 Aug 2016 05:35:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2016 05:35:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 747532C0D5D for ; Tue, 9 Aug 2016 05:35:20 +0000 (UTC) Date: Tue, 9 Aug 2016 05:35:20 +0000 (UTC) From: "Ryu Kobayashi (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-14481) Remove the comments from the query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 09 Aug 2016 05:35:22 -0000 Ryu Kobayashi created HIVE-14481: ------------------------------------ Summary: Remove the comments from the query Key: HIVE-14481 URL: https://issues.apache.org/jira/browse/HIVE-14481 Project: Hive Issue Type: Bug Components: CLI Affects Versions: 2.1.0 Reporter: Ryu Kobayashi The ability to delete a comment in CliDriver was created in the next ticket: HIVE-1926, HIVE-1953 However, the following query will result in an error: {code} -- set abc=def; select -- comments; -- comments; replace('12345', '12', '--') -- comments; from www_access limit 1; {code} It was to remove all of the comments in order to cope with this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)