diff options
author | wangfei <wangfei1@huawei.com> | 2015-02-04 14:35:12 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-04 14:35:12 -0800 |
commit | b90dd39793ab0a13a4559fcfff3bb5305c92ab3b (patch) | |
tree | 3dc5c9207cd21091e3f6bdb63cece18deb25a6a0 | |
parent | a9f0db1fb41a6e5510d2c14f79ff086da2ecc7b0 (diff) | |
download | spark-b90dd39793ab0a13a4559fcfff3bb5305c92ab3b.tar.gz spark-b90dd39793ab0a13a4559fcfff3bb5305c92ab3b.tar.bz2 spark-b90dd39793ab0a13a4559fcfff3bb5305c92ab3b.zip |
[SPARK-5587][SQL] Support change database owner
Support change database owner, here i do not add the golden files since the golden answer is related to the tmp dir path (see https://github.com/scwf/spark/commit/6331e4ac0f982caf70531defcb957be76fe093c7)
Author: wangfei <wangfei1@huawei.com>
Closes #4357 from scwf/db_owner and squashes the following commits:
f761533 [wangfei] remove the alter_db_owner which have added to whitelist
79413c6 [wangfei] Revert "added golden files"
6331e4a [wangfei] added golden files
6f7cacd [wangfei] support change database owner
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala index 74ca0d4ed5..9b5c081557 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala @@ -95,6 +95,7 @@ private[hive] object HiveQl { "TOK_DROPFUNCTION", "TOK_ALTERDATABASE_PROPERTIES", + "TOK_ALTERDATABASE_OWNER", "TOK_ALTERINDEX_PROPERTIES", "TOK_ALTERINDEX_REBUILD", "TOK_ALTERTABLE_ADDCOLS", |