seawinde commented on code in PR #39286: URL: https://github.com/apache/doris/pull/39286#discussion_r1716359118
########## fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVPartitionExprDateTrunc.java: ########## @@ -198,9 +198,15 @@ private DateTimeV2Literal dateIncrement(DateTimeV2Literal value) throws Analysis case "year": result = value.plusYears(1L); break; + case "quarter": + result = value.plusMonths(3L); Review Comment: why add 3 month, can add some comment to explain this -- 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