[ 
https://issues.apache.org/jira/browse/HIVE-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Syed S. Albiz updated HIVE-2335:
--------------------------------

    Attachment: HIVE-2335.2.patch

Ning pointed out that there was a race condition with the approach I was using, 
modified to store the timestamps of the base tables before we kick off the 
rebuild job.

> 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, HIVE-2335.2.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

        

Reply via email to