File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1872,6 +1872,7 @@ Join JoinerExpression() #JoinerExpression:
18721872 | <K_INNER> { join.setInner(true); }
18731873 | <K_NATURAL> { join.setNatural(true); }
18741874 | <K_CROSS> { join.setCross(true); }
1875+ | <K_OUTER> { join.setOuter(true); }
18751876 ]
18761877
18771878 ( <K_JOIN> | "," { join.setSimple(true); } (<K_OUTER> { join.setOuter(true); } )?
Original file line number Diff line number Diff line change @@ -3972,6 +3972,11 @@ public void testCrossApplyIssue344() throws JSQLParserException {
39723972 + " else calc1.student_full_name end as summary\n "
39733973 + ") calc2" , true );
39743974 }
3975+
3976+ @ Test
3977+ public void testOuterApplyIssue930 () throws JSQLParserException {
3978+ assertSqlCanBeParsedAndDeparsed ("SELECT * FROM mytable D OUTER APPLY (SELECT * FROM mytable2 E WHERE E.ColID = D.ColID) A" );
3979+ }
39753980
39763981 @ Test
39773982 public void testWrongParseTreeIssue89 () throws JSQLParserException {
You can’t perform that action at this time.
0 commit comments