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

Ashish Sharma reassigned HIVE-14494:
------------------------------------

    Assignee: Ashish Sharma

> Add support for BUILD DEFERRED
> ------------------------------
>
>                 Key: HIVE-14494
>                 URL: https://issues.apache.org/jira/browse/HIVE-14494
>             Project: Hive
>          Issue Type: Improvement
>          Components: Materialized views
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Ashish Sharma
>            Priority: Major
>
> This is an important feature, as it allows to declare materialized views but 
> do not materialize them till they are used for the first time, or a REBUILD 
> statement is executed. The extension for the CREATE MATERIALIZED VIEW syntax 
> should be as follows:
> {code:sql}
> CREATE MATERIALIZED VIEW [IF NOT EXISTS] [db_name.]materialized_view_name
>   [BUILD DEFERRED] -- NEW!
>   [COMMENT materialized_view_comment]
>   [
>    [ROW FORMAT row_format] 
>    [STORED AS file_format]
>      | STORED BY 'storage.handler.class.name' [WITH SERDEPROPERTIES (...)]
>   ]
>   [LOCATION hdfs_path]
>   [TBLPROPERTIES (property_name=property_value, ...)]
>   AS select_statement;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to