zhangstar333 commented on code in PR #45370:
URL: https://github.com/apache/doris/pull/45370#discussion_r1897210946


##########
fe/fe-core/src/main/java/org/apache/doris/rewrite/FEFunctions.java:
##########
@@ -158,6 +158,30 @@ public static DateLiteral yearsAddDateTimeV2(LiteralExpr 
date, LiteralExpr year)
         return dateLiteral.plusYears((int) year.getLongValue());
     }
 
+    @FEFunction(name = "quarters_add", argTypes = { "DATETIME", "INT" }, 
returnType = "DATETIME")
+    public static DateLiteral quartersAdd(LiteralExpr date, LiteralExpr year) 
throws AnalysisException {

Review Comment:
   year name seems some strange



-- 
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

Reply via email to