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() :
677
677
| tk=<K_COLUMN> | tk=<K_REPLACE> | tk=<K_TRUNCATE> | tk=<K_KEY> | tk=<K_ANY>
678
678
| tk=<K_OPEN> | tk=<K_OVER> | tk=<K_VALUES> | tk=<K_PERCENT> | tk=<K_PRIOR>
679
679
| tk=<K_SEPARATOR> | tk=<K_NO> | tk=<K_ACTION> | tk=<K_CASCADE> | tk=<K_END>
680
+ | tk=<K_TABLE>
680
681
)
681
682
682
683
{ return tk.image; }
Original file line number Diff line number Diff line change @@ -2184,4 +2184,8 @@ public void testNestedFunctionCallIssue253() throws JSQLParserException {
2184
2184
public void testEscapedBackslashIssue253 () throws JSQLParserException {
2185
2185
assertSqlCanBeParsedAndDeparsed ("SELECT replace_regex('test', '\\ \\ ', '\\ \\ \\ \\ ')" );
2186
2186
}
2187
+
2188
+ public void testKeywordTableIssue261 () throws JSQLParserException {
2189
+ assertSqlCanBeParsedAndDeparsed ("SELECT column_value FROM table(VARCHAR_LIST_TYPE())" );
2190
+ }
2187
2191
}
You can’t perform that action at this time.
0 commit comments