Skip to content

Commit abc5777

Browse files
committed
fix: updating keyword to allow low, high, inverse and plus again
1 parent 4a3eeef commit abc5777

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

src/main/java/net/sf/jsqlparser/parser/ParserKeywordsUtils.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public class ParserKeywordsUtils {
8181
{"GROUPING", RESTRICTED_ALIAS},
8282
{"QUALIFY", RESTRICTED_ALIAS},
8383
{"HAVING", RESTRICTED_SQL2016},
84-
{"HIGH", RESTRICTED_JSQLPARSER},
8584
{"IF", RESTRICTED_SQL2016},
8685
{"IIF", RESTRICTED_ALIAS},
8786
{"IGNORE", RESTRICTED_ALIAS},
@@ -92,14 +91,12 @@ public class ParserKeywordsUtils {
9291
{"INTERSECT", RESTRICTED_SQL2016},
9392
{"INTERVAL", RESTRICTED_SQL2016},
9493
{"INTO", RESTRICTED_JSQLPARSER},
95-
{"INVERSE", RESTRICTED_JSQLPARSER},
9694
{"IS", RESTRICTED_SQL2016},
9795
{"JOIN", RESTRICTED_JSQLPARSER},
9896
{"LATERAL", RESTRICTED_SQL2016},
9997
{"LEFT", RESTRICTED_SQL2016},
10098
{"LIKE", RESTRICTED_SQL2016},
10199
{"LIMIT", RESTRICTED_SQL2016},
102-
{"LOW", RESTRICTED_JSQLPARSER},
103100
{"MINUS", RESTRICTED_SQL2016},
104101
{"NATURAL", RESTRICTED_SQL2016},
105102
{"NOCYCLE", RESTRICTED_JSQLPARSER},
@@ -115,7 +112,6 @@ public class ParserKeywordsUtils {
115112
{"OUTPUT", RESTRICTED_JSQLPARSER},
116113
{"OPTIMIZE ", RESTRICTED_JSQLPARSER},
117114
{"PIVOT", RESTRICTED_JSQLPARSER},
118-
{"PLUS", RESTRICTED_JSQLPARSER},
119115
{"PREFERRING", RESTRICTED_JSQLPARSER},
120116
{"PRIOR", RESTRICTED_ALIAS},
121117
{"PROCEDURE", RESTRICTED_ALIAS},

src/site/sphinx/keywords.rst

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ The following Keywords are **restricted** in JSQLParser-|JSQLPARSER_VERSION| and
7777
+----------------------+-------------+-----------+
7878
| QUALIFY | Yes | |
7979
+----------------------+-------------+-----------+
80-
| HAVING | Yes | Yes |
81-
+----------------------+-------------+-----------+
82-
| HIGH | Yes | Yes |
80+
| HAVING | Yes | Yes |
8381
+----------------------+-------------+-----------+
8482
| IF | Yes | Yes |
8583
+----------------------+-------------+-----------+
@@ -99,9 +97,7 @@ The following Keywords are **restricted** in JSQLParser-|JSQLPARSER_VERSION| and
9997
+----------------------+-------------+-----------+
10098
| INTERVAL | Yes | Yes |
10199
+----------------------+-------------+-----------+
102-
| INTO | Yes | Yes |
103-
+----------------------+-------------+-----------+
104-
| INVERSE | Yes | Yes |
100+
| INTO | Yes | Yes |
105101
+----------------------+-------------+-----------+
106102
| IS | Yes | Yes |
107103
+----------------------+-------------+-----------+
@@ -113,9 +109,7 @@ The following Keywords are **restricted** in JSQLParser-|JSQLPARSER_VERSION| and
113109
+----------------------+-------------+-----------+
114110
| LIKE | Yes | Yes |
115111
+----------------------+-------------+-----------+
116-
| LIMIT | Yes | Yes |
117-
+----------------------+-------------+-----------+
118-
| LOW | Yes | Yes |
112+
| LIMIT | Yes | Yes |
119113
+----------------------+-------------+-----------+
120114
| MINUS | Yes | Yes |
121115
+----------------------+-------------+-----------+
@@ -145,9 +139,7 @@ The following Keywords are **restricted** in JSQLParser-|JSQLPARSER_VERSION| and
145139
+----------------------+-------------+-----------+
146140
| OPTIMIZE | Yes | Yes |
147141
+----------------------+-------------+-----------+
148-
| PIVOT | Yes | Yes |
149-
+----------------------+-------------+-----------+
150-
| PLUS | Yes | Yes |
142+
| PIVOT | Yes | Yes |
151143
+----------------------+-------------+-----------+
152144
| PREFERRING | Yes | Yes |
153145
+----------------------+-------------+-----------+

0 commit comments

Comments
 (0)