Skip to content

Commit 002f596

Browse files
committed
1 parent 79e2f58 commit 002f596

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4495,4 +4495,14 @@ public void testKeywordAlgorithmIssue1137() throws JSQLParserException {
44954495
public void testKeywordAlgorithmIssue1138() throws JSQLParserException {
44964496
assertSqlCanBeParsedAndDeparsed("SELECT * FROM in.tablename");
44974497
}
4498+
4499+
@Test
4500+
public void testProblematicDeparsingIssue1183() throws JSQLParserException {
4501+
assertSqlCanBeParsedAndDeparsed("SELECT ARRAY_AGG(NAME) FILTER (WHERE NAME IS NOT NULL)");
4502+
}
4503+
4504+
@Test
4505+
public void testProblematicDeparsingIssue1183_2() throws JSQLParserException {
4506+
assertSqlCanBeParsedAndDeparsed("SELECT ARRAY_AGG(ID ORDER BY ID) OVER (ORDER BY ID)");
4507+
}
44984508
}

0 commit comments

Comments
 (0)