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

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

I've been looking at this for a while, unfortunately, since the population job 
requires the index table to exist so that it can do an INSERT OVERWRITE (...) 
into it, the approach we discussed using a dummy object will not work as 
expected. I think the only way to make this work will be to do the ms 
transaction to create the index table immediately in the SemanticAnalyzer, with 
a special case if necessary for EXPLAINs such that the code is not executed if 
part of an EXPLAIN statement. 
                
> enhance CREATE INDEX to support immediate index build
> -----------------------------------------------------
>
>                 Key: HIVE-1496
>                 URL: https://issues.apache.org/jira/browse/HIVE-1496
>             Project: Hive
>          Issue Type: Improvement
>          Components: Indexing
>    Affects Versions: 0.7.0, 0.8.0
>            Reporter: John Sichi
>            Assignee: Syed S. Albiz
>         Attachments: hive-1496.patch
>
>
> Currently we only support WITH DEFERRED REBUILD.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to