[ 
https://issues.apache.org/jira/browse/HIVE-15283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693613#comment-15693613
 ] 

Marta Kuczora commented on HIVE-15283:
--------------------------------------

The patch and the link to the review board is attached. Please review the 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)

Reply via email to