Skip to content

Commit 3efbda6

Browse files
committed
Add FALSE and SETMINUS to ansiNonReserved
1 parent 7021588 commit 3efbda6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ ansiNonReserved
948948
| EXTENDED
949949
| EXTERNAL
950950
| EXTRACT
951+
| FALSE
951952
| FIELDS
952953
| FILEFORMAT
953954
| FIRST
@@ -1039,6 +1040,7 @@ ansiNonReserved
10391040
| SERDE
10401041
| SERDEPROPERTIES
10411042
| SET
1043+
| SETMINUS
10421044
| SETS
10431045
| SHOW
10441046
| SKEWED

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/TableIdentifierParserSuite.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,6 @@ class TableIdentifierParserSuite extends SparkFunSuite with SQLHelper {
580580
"else",
581581
"end",
582582
"except",
583-
"false",
584583
"fetch",
585584
"first_value",
586585
"for",
@@ -617,7 +616,6 @@ class TableIdentifierParserSuite extends SparkFunSuite with SQLHelper {
617616
"select",
618617
"semi",
619618
"session_user",
620-
"minus",
621619
"second",
622620
"some",
623621
"table",

0 commit comments

Comments
 (0)