[
https://issues.apache.org/jira/browse/SPARK-14396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herman van Hovell resolved SPARK-14396.
---------------------------------------
Resolution: Resolved
Assignee: Xiao Li
Target Version/s: 2.0.0
> Throw Exceptions for DDLs of Partitioned Views (CREATE VIEW and ALTER VIEW)
> ---------------------------------------------------------------------------
>
> Key: SPARK-14396
> URL: https://issues.apache.org/jira/browse/SPARK-14396
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Xiao Li
> Assignee: Xiao Li
>
> Because the concept of partitioning is associated with physical tables, we
> disable all the supports of partitioned views, which are defined in the
> following three commands in [Hive DDL
> Manual](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/AlterView):
> {noformat}
> ALTER VIEW view DROP [IF EXISTS] PARTITION spec1[, PARTITION spec2, ...];
> ALTER VIEW view ADD [IF NOT EXISTS] PARTITION spec;
> CREATE VIEW [IF NOT EXISTS] [db_name.]view_name [(column_name [COMMENT
> column_comment], ...) ]
> [COMMENT view_comment]
> [TBLPROPERTIES (property_name = property_value, ...)]
> AS SELECT ...;
> {noformat}
>
> An exception is thrown when users issue any of these three DDL commands.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]