[
https://issues.apache.org/jira/browse/HIVE-14494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez updated HIVE-14494:
-------------------------------------------
Issue Type: Improvement (was: Sub-task)
Parent: (was: HIVE-14484)
> 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
> 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
(v7.6.3#76005)