You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Marta Kuczora (JIRA)" <ji...@apache.org> on 2016/11/24 16:01:02 UTC
[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
[ https://issues.apache.org/jira/browse/HIVE-15283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marta Kuczora updated HIVE-15283:
---------------------------------
Attachment: HIVE-15283.patch
> 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)