Skip to content

Commit fce593d

Browse files
committed
test issue 445
1 parent 8ea282a commit fce593d

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
@@ -2600,4 +2600,8 @@ public void testMysqlMultipleIndexHints() throws JSQLParserException {
26002600
public void testProblemIssue435() throws JSQLParserException {
26012601
assertSqlCanBeParsedAndDeparsed("SELECT if(z, 'a', 'b') AS business_type FROM mytable1");
26022602
}
2603+
2604+
public void testProblemIssue445() throws JSQLParserException {
2605+
assertSqlCanBeParsedAndDeparsed("SELECT E.ID_NUMBER, row_number() OVER (PARTITION BY E.ID_NUMBER ORDER BY E.DEFINED_UPDATED DESC) rn FROM T_EMPLOYMENT E");
2606+
}
26032607
}

0 commit comments

Comments
 (0)