File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/test/select Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -677,6 +677,7 @@ String RelObjectName() :
677677 | tk=<K_COLUMN> | tk=<K_REPLACE> | tk=<K_TRUNCATE> | tk=<K_KEY> | tk=<K_ANY>
678678 | tk=<K_OPEN> | tk=<K_OVER> | tk=<K_VALUES> | tk=<K_PERCENT> | tk=<K_PRIOR>
679679 | tk=<K_SEPARATOR> | tk=<K_NO> | tk=<K_ACTION> | tk=<K_CASCADE> | tk=<K_END>
680+ | tk=<K_TABLE>
680681 )
681682
682683 { return tk.image; }
Original file line number Diff line number Diff line change @@ -2184,4 +2184,8 @@ public void testNestedFunctionCallIssue253() throws JSQLParserException {
21842184 public void testEscapedBackslashIssue253 () throws JSQLParserException {
21852185 assertSqlCanBeParsedAndDeparsed ("SELECT replace_regex('test', '\\ \\ ', '\\ \\ \\ \\ ')" );
21862186 }
2187+
2188+ public void testKeywordTableIssue261 () throws JSQLParserException {
2189+ assertSqlCanBeParsedAndDeparsed ("SELECT column_value FROM table(VARCHAR_LIST_TYPE())" );
2190+ }
21872191}
You can’t perform that action at this time.
0 commit comments