You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marta Kuczora (JIRA)" <ji...@apache.org> on 2016/11/24 10:21:58 UTC
[jira] [Created] (HIVE-15283) Index is dropped from wrong table in
the index_auto_mult_tables.q and index_auto_mult_tables_compact.q tests
Marta Kuczora created HIVE-15283:
------------------------------------
Summary: 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
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)