LiBinfeng-01 commented on code in PR #40820:
URL: https://github.com/apache/doris/pull/40820#discussion_r1758698257


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/TimeRoundSeries.java:
##########
@@ -91,7 +92,7 @@ private static LocalDateTime getDateCeilOrFloor(DATE tag, 
LocalDateTime date, in
                 break;
             }
             default: {
-                return null;
+                throw new AnalysisException("Unexpected tag: " + tag);

Review Comment:
   done



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

Reply via email to