Skip to content

Commit e2bf59a

Browse files
pzzsmarmbrus
authored andcommitted
[SPARK-5648][SQL] support "alter ... unset tblproperties("key")"
make hivecontext support "alter ... unset tblproperties("key")" like : alter view viewName unset tblproperties("k") alter table tableName unset tblproperties("k") Author: DoingDone9 <[email protected]> Closes #4424 from DoingDone9/unset and squashes the following commits: 6dd8bee [DoingDone9] support "alter ... unset tblproperties("key")" (cherry picked from commit d08e7c2) Signed-off-by: Michael Armbrust <[email protected]>
1 parent 15f557f commit e2bf59a

File tree

1 file changed

+2
-0
lines changed
  • sql/hive/src/main/scala/org/apache/spark/sql/hive

1 file changed

+2
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ private[hive] object HiveQl {
103103
"TOK_CREATEINDEX",
104104
"TOK_DROPDATABASE",
105105
"TOK_DROPINDEX",
106+
"TOK_DROPTABLE_PROPERTIES",
106107
"TOK_MSCK",
107108

108109
"TOK_ALTERVIEW_ADDPARTS",
@@ -111,6 +112,7 @@ private[hive] object HiveQl {
111112
"TOK_ALTERVIEW_PROPERTIES",
112113
"TOK_ALTERVIEW_RENAME",
113114
"TOK_CREATEVIEW",
115+
"TOK_DROPVIEW_PROPERTIES",
114116
"TOK_DROPVIEW",
115117

116118
"TOK_EXPORT",

0 commit comments

Comments
 (0)