Skip to content

Commit bc36356

Browse files
scwfmarmbrus
authored andcommitted
[SQL][Minor] Remove cache keyword in SqlParser
Since cache keyword already defined in `SparkSQLParser` and `SqlParser` of catalyst is a more general parser which should not cover keywords related to underlying compute engine, to remove cache keyword in `SqlParser`. Author: wangfei <wangfei1@huawei.com> Closes apache#4393 from scwf/remove-cache-keyword and squashes the following commits: 10ade16 [wangfei] remove cache keyword in sql parser
1 parent b62c352 commit bc36356

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/SqlParser.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class SqlParser extends AbstractSparkSQLParser {
5757
protected val AVG = Keyword("AVG")
5858
protected val BETWEEN = Keyword("BETWEEN")
5959
protected val BY = Keyword("BY")
60-
protected val CACHE = Keyword("CACHE")
6160
protected val CASE = Keyword("CASE")
6261
protected val CAST = Keyword("CAST")
6362
protected val COALESCE = Keyword("COALESCE")

0 commit comments

Comments
 (0)