Skip to content

Commit f5b515b

Browse files
committed
fixes #151
1 parent 8036edd commit f5b515b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/net/sf/jsqlparser/test/select/SelectTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,4 +2067,8 @@ public void testTableFunctionWithAlias() throws Exception {
20672067
assertEquals("z", fromItem.getAlias().getName());
20682068
assertStatementCanBeDeparsedAs(select, statement);
20692069
}
2070+
2071+
public void testIssue151_tableFunction() throws JSQLParserException {
2072+
assertSqlCanBeParsedAndDeparsed("SELECT * FROM tables a LEFT JOIN getdata() b ON a.id = b.id");
2073+
}
20702074
}

0 commit comments

Comments
 (0)