YangShaw commented on code in PR #14397: URL: https://github.com/apache/doris/pull/14397#discussion_r1095317560
########## fe/fe-core/src/test/java/org/apache/doris/nereids/parser/NereidsParserTest.java: ########## @@ -106,6 +106,16 @@ public void testParseCTE() { Assertions.assertEquals(columnAliases.get().size(), 2); } + @Test + public void testParseWindowFunctions() { + NereidsParser nereidsParser = new NereidsParser(); + LogicalPlan logicalPlan; + + String windowSql1 = "select rank() over(partition by k1 order by k1) as ranking from t1"; + logicalPlan = nereidsParser.parseSingle(windowSql1); + System.out.println(logicalPlan.treeString()); Review Comment: yes, i will complete it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org