We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e2f58 commit 002f596Copy full SHA for 002f596
1 file changed
src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java
@@ -4495,4 +4495,14 @@ public void testKeywordAlgorithmIssue1137() throws JSQLParserException {
4495
public void testKeywordAlgorithmIssue1138() throws JSQLParserException {
4496
assertSqlCanBeParsedAndDeparsed("SELECT * FROM in.tablename");
4497
}
4498
+
4499
+ @Test
4500
+ public void testProblematicDeparsingIssue1183() throws JSQLParserException {
4501
+ assertSqlCanBeParsedAndDeparsed("SELECT ARRAY_AGG(NAME) FILTER (WHERE NAME IS NOT NULL)");
4502
+ }
4503
4504
4505
+ public void testProblematicDeparsingIssue1183_2() throws JSQLParserException {
4506
+ assertSqlCanBeParsedAndDeparsed("SELECT ARRAY_AGG(ID ORDER BY ID) OVER (ORDER BY ID)");
4507
4508
0 commit comments