Skip to content
Snippets Groups Projects
Commit 68609c51 authored by Jacky Li's avatar Jacky Li Committed by Michael Armbrust
Browse files

[SQL] Modify keyword val location according to ordering

'DOUBLE' should be moved before 'ELSE' according to the ordering convension

Author: Jacky Li <jacky.likun@gmail.com>

Closes #3080 from jackylk/patch-5 and squashes the following commits:

3c11df7 [Jacky Li] [SQL] Modify keyword val location according to ordering
parent 8154ed7d
No related branches found
No related tags found
No related merge requests found
...@@ -55,10 +55,10 @@ class SqlParser extends AbstractSparkSQLParser { ...@@ -55,10 +55,10 @@ class SqlParser extends AbstractSparkSQLParser {
protected val DECIMAL = Keyword("DECIMAL") protected val DECIMAL = Keyword("DECIMAL")
protected val DESC = Keyword("DESC") protected val DESC = Keyword("DESC")
protected val DISTINCT = Keyword("DISTINCT") protected val DISTINCT = Keyword("DISTINCT")
protected val DOUBLE = Keyword("DOUBLE")
protected val ELSE = Keyword("ELSE") protected val ELSE = Keyword("ELSE")
protected val END = Keyword("END") protected val END = Keyword("END")
protected val EXCEPT = Keyword("EXCEPT") protected val EXCEPT = Keyword("EXCEPT")
protected val DOUBLE = Keyword("DOUBLE")
protected val FALSE = Keyword("FALSE") protected val FALSE = Keyword("FALSE")
protected val FIRST = Keyword("FIRST") protected val FIRST = Keyword("FIRST")
protected val FROM = Keyword("FROM") protected val FROM = Keyword("FROM")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment