[ https://issues.apache.org/jira/browse/HIVE-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087675#comment-13087675 ]
Hudson commented on HIVE-2335: ------------------------------ Integrated in Hive-trunk-h0.21 #905 (See [https://builds.apache.org/job/Hive-trunk-h0.21/905/]) HIVE-2335: Indexes are still automatically queried when out of sync with their source tables (Syed via He Yongqiang) heyongqiang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1159499 Files : * /hive/trunk/ql/src/test/results/clientpositive/index_stale_partitioned.q.out * /hive/trunk/ql/src/test/queries/clientpositive/index_stale_partitioned.q * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java * /hive/trunk/ql/src/test/results/clientpositive/index_stale.q.out * /hive/trunk/ql/src/test/queries/clientpositive/index_stale.q * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/index/IndexWhereProcessor.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterIndexDesc.java > 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, HIVE-2335.3.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