You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Syed S. Albiz (JIRA)" <ji...@apache.org> on 2011/08/03 01:18:28 UTC

[jira] [Commented] (HIVE-2335) Indexes are still automatically queried when out of sync with their source tables

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

Syed S. Albiz commented on HIVE-2335:
-------------------------------------

This change will likely break the change introduced in HIVE-2138, so it will be smoother to have this one get in, and then modify the patch in 2138 to use a more robust testcase to ensure that indexes are actually used

> Indexes are still automatically queried when out of sync with their source tables
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-2335
>                 URL: https://issues.apache.org/jira/browse/HIVE-2335
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Syed S. Albiz
>            Assignee: Syed S. Albiz
>         Attachments: HIVE-2335.1.patch
>
>
> The automatic index usage does not check whether or not the indexes are still up-to-date when generating the index queries. This can be addressed in two stages, the first is to add a check before generating the index query to ensure that the index is still valid. The next stage may be to add some sort of mode where indexes are automatically updated on table writes.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira