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

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

CREATE TABLE AS SELECT doesn't need to compile re-entrant HQL, so it resolves 
the table name for the INSERT as part of the same SemanticAnalyzer pass. 
However when we run the ALTER INDEX statement, the DDLSemanticAnalyzer tries to 
compile a re-entrant INSERT query as a dependent task. I guess one other 
approach would be to do some checking in the SemanticAnalyzer pass on the 
re-entrant SQL to populate the mapping of valid table names with tables that 
*will* be created by the time the task doing the INSERT runs?
                
> 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