aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorq00251598 <qiyadong@huawei.com>2015-02-06 12:29:26 -0800
committerMichael Armbrust <michael@databricks.com>2015-02-06 12:29:26 -0800
commita958d60975147fb1afc76fcbd80f65ac8d78759a (patch)
tree0e13d560e558def0aac23c119d501946dd4f2eb5 /sql
parent500dc2b4b3136029457e708859fe27da93b1f9e8 (diff)
downloadspark-a958d60975147fb1afc76fcbd80f65ac8d78759a.tar.gz
spark-a958d60975147fb1afc76fcbd80f65ac8d78759a.tar.bz2
spark-a958d60975147fb1afc76fcbd80f65ac8d78759a.zip
[SPARK-5619][SQL] Support 'show roles' in HiveContext
Author: q00251598 <qiyadong@huawei.com> Closes #4397 from watermen/SPARK-5619 and squashes the following commits: f819b6c [q00251598] Support show roles in HiveContext.
Diffstat (limited to 'sql')
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala1
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 6265c61a1d..be63aa1a93 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
@@ -68,6 +68,7 @@ private[hive] object HiveQl {
"TOK_SHOWLOCKS",
"TOK_UNLOCKTABLE",
+ "TOK_SHOW_ROLES",
"TOK_CREATEROLE",
"TOK_DROPROLE",
"TOK_GRANT",