aboutsummaryrefslogtreecommitdiff
path: root/sql/catalyst/src/main
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-04-28 21:58:48 -0700
committerReynold Xin <rxin@databricks.com>2016-04-28 21:58:48 -0700
commit4607f6e7f7b174c62700f1fe542f77af3203b096 (patch)
tree773e96b22cfef4b30b20132a89f8b75c4fceadd5 /sql/catalyst/src/main
parent6f9a18fe311925056cce83a44f187f122b6591cb (diff)
downloadspark-4607f6e7f7b174c62700f1fe542f77af3203b096.tar.gz
spark-4607f6e7f7b174c62700f1fe542f77af3203b096.tar.bz2
spark-4607f6e7f7b174c62700f1fe542f77af3203b096.zip
[SPARK-14991][SQL] Remove HiveNativeCommand
## What changes were proposed in this pull request? This patch removes HiveNativeCommand, so we can continue to remove the dependency on Hive. This pull request also removes the ability to generate golden result file using Hive. ## How was this patch tested? Updated tests to reflect this. Author: Reynold Xin <rxin@databricks.com> Closes #12769 from rxin/SPARK-14991.
Diffstat (limited to 'sql/catalyst/src/main')
-rw-r--r--sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g41
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
index c356f0c3f1..4d5d125ecd 100644
--- a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
+++ b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
@@ -132,7 +132,6 @@ statement
hiveNativeCommands
: TRUNCATE TABLE tableIdentifier partitionSpec?
(COLUMNS identifierList)?
- | (CREATE | ALTER | DROP | SHOW | DESC | DESCRIBE) .*?
;
unsupportedHiveNativeCommands