hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marta Kuczora (JIRA)" <j...@apache.org>
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
Date Thu, 24 Nov 2016 16:01:02 GMT

     [ 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)

Mime
View raw message