File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
main/javacc/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/test/select Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ String RelObjectName():
538538 | tk=<K_LAST> | tk=<K_MATERIALIZED> | tk=<K_NULLS> | tk=<K_PARTITION> | tk=<K_RANGE>
539539 | tk=<K_ROW> | tk=<K_ROWS> | tk=<K_SIBLINGS> | tk=<K_VALUE> | tk=<K_XML>
540540 | tk=<K_COLUMN> | tk=<K_REPLACE> | tk=<K_TRUNCATE> | tk=<K_KEY> | tk=<K_ANY>
541- | tk=<K_OPEN> | tk=<K_OVER> | tk=<K_VALUES>
541+ | tk=<K_OPEN> | tk=<K_OVER> | tk=<K_VALUES> | tk=<K_PERCENT>
542542 )
543543
544544 { return tk.image; }
Original file line number Diff line number Diff line change @@ -1720,4 +1720,9 @@ public void testSelectWithBrackets() throws JSQLParserException {
17201720 public void testSelectWithBrackets2 () throws JSQLParserException {
17211721 assertSqlCanBeParsedAndDeparsed ("(SELECT 1)" );
17221722 }
1723+
1724+ public void testSelectKeywordPercent () throws JSQLParserException {
1725+ assertSqlCanBeParsedAndDeparsed ("SELECT percent FROM MY_TABLE" );
1726+ }
1727+
17231728}
You can’t perform that action at this time.
0 commit comments