diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-04-14 08:08:09 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-04-14 08:08:09 -0700 |
commit | 3cf3db17b35c98a408014e1810cb797d8415ffd3 (patch) | |
tree | 31e7f7110dedeea227a5582a5917ee5dbdffad60 /docs/running-on-yarn.md | |
parent | 6fc3dc8839eaed673c64ec87af6dfe24f8cebe0c (diff) | |
download | spark-3cf3db17b35c98a408014e1810cb797d8415ffd3.tar.gz spark-3cf3db17b35c98a408014e1810cb797d8415ffd3.tar.bz2 spark-3cf3db17b35c98a408014e1810cb797d8415ffd3.zip |
[SPARK-14518][SQL] Support Comment in CREATE VIEW
#### What changes were proposed in this pull request?
**HQL Syntax**: [Create View](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/AlterView
)
```SQL
CREATE VIEW [IF NOT EXISTS] [db_name.]view_name [(column_name [COMMENT column_comment], ...) ]
[COMMENT view_comment]
[TBLPROPERTIES (property_name = property_value, ...)]
AS SELECT ...;
```
Add a support for the `[COMMENT view_comment]` clause
#### How was this patch tested?
Modified the existing test cases to verify the correctness.
Author: gatorsmile <gatorsmile@gmail.com>
Author: xiaoli <lixiao1983@gmail.com>
Author: Xiao Li <xiaoli@Xiaos-MacBook-Pro.local>
Closes #12288 from gatorsmile/addCommentInCreateView.
Diffstat (limited to 'docs/running-on-yarn.md')
0 files changed, 0 insertions, 0 deletions