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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]