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: [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]