You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Will Du (JIRA)" <ji...@apache.org> on 2015/02/11 22:35:11 UTC

[jira] [Created] (HIVE-9656) Create Index Failed without WITH DEFERRED REBUILD

Will Du created HIVE-9656:
-----------------------------

             Summary: Create Index Failed without WITH DEFERRED REBUILD
                 Key: HIVE-9656
                 URL: https://issues.apache.org/jira/browse/HIVE-9656
             Project: Hive
          Issue Type: Bug
          Components: Indexing
    Affects Versions: 0.14.0, 0.13.0, 1.0.0
            Reporter: Will Du


Create Hive index without specifying "WITH DEFERRED REBUILD" is failed with following error.

CREATE INDEX table01_index ON TABLE table01 (column2) 
AS 'COMPACT';
FAILED: Error in metadata: java.lang.RuntimeException: Please specify deferred rebuild using " WITH DEFERRED REBUILD ".
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

According to the design here https://cwiki.apache.org/confluence/display/Hive/IndexDev
"WITH DEFERRED REBUILD" is optional, correct?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)