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 EAE30200BF0 for ; Thu, 24 Nov 2016 17:01:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E9B76160AFB; Thu, 24 Nov 2016 16:01:03 +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 63140160B20 for ; Thu, 24 Nov 2016 17:01:03 +0100 (CET) Received: (qmail 73196 invoked by uid 500); 24 Nov 2016 16:01:02 -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 73126 invoked by uid 99); 24 Nov 2016 16:01:02 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2016 16:01:02 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 24E1F2C03DE for ; Thu, 24 Nov 2016 16:01:02 +0000 (UTC) Date: Thu, 24 Nov 2016 16:01:02 +0000 (UTC) From: "Marta Kuczora (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-15283) Index is dropped from wrong table in the index_auto_mult_tables.q and index_auto_mult_tables_compact.q tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Nov 2016 16:01:04 -0000 [ https://issues.apache.org/jira/browse/HIVE-15283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marta Kuczora updated HIVE-15283: --------------------------------- Status: Patch Available (was: Open) > Index is dropped from wrong table in the index_auto_mult_tables.q and index_auto_mult_tables_compact.q tests > ------------------------------------------------------------------------------------------------------------ > > Key: HIVE-15283 > URL: https://issues.apache.org/jira/browse/HIVE-15283 > Project: Hive > Issue Type: Bug > Components: Tests > Affects Versions: 2.2.0 > Reporter: Marta Kuczora > Assignee: Marta Kuczora > Priority: Trivial > Attachments: HIVE-15283.patch > > > In these tests two indexes are created, one on the src table and one on the srcpart table. But when the indexes are dropped in the end of the q file, both indexes are dropped from the src table. > {noformat} > CREATE INDEX src_index_compact ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; > ALTER INDEX src_index_compact ON src REBUILD; > CREATE INDEX srcpart_index_compact ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD; > ALTER INDEX srcpart_index_compact ON srcpart REBUILD; > ... > DROP INDEX src_index_compact on src; > DROP INDEX srcpart_index_compact on src; > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)