Skip to content

Commit

Permalink
[SQL][Minor] Remove cache keyword in SqlParser
Browse files Browse the repository at this point in the history
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 #4393 from scwf/remove-cache-keyword and squashes the following commits:

10ade16 [wangfei] remove cache keyword in sql parser

(cherry picked from commit bc36356)
Signed-off-by: Michael Armbrust <michael@databricks.com>
  • Loading branch information
scwf authored and marmbrus committed Feb 6, 2015
1 parent 2abaa6e commit d822606
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class SqlParser extends AbstractSparkSQLParser {
protected val AVG = Keyword("AVG")
protected val BETWEEN = Keyword("BETWEEN")
protected val BY = Keyword("BY")
protected val CACHE = Keyword("CACHE")
protected val CASE = Keyword("CASE")
protected val CAST = Keyword("CAST")
protected val COALESCE = Keyword("COALESCE")
Expand Down

0 comments on commit d822606

Please sign in to comment.