HappenLee commented on code in PR #35883:
URL: https://github.com/apache/doris/pull/35883#discussion_r1628877629


##########
be/src/vec/runtime/vdatetime_value.cpp:
##########
@@ -3421,10 +3519,12 @@ void DateV2Value<T>::set_microsecond(uint32_t 
microsecond) {
 }
 
 template <typename T>
-bool DateV2Value<T>::to_format_string(const char* format, int len, char* to) 
const {
+bool DateV2Value<T>::to_format_string(const char* format, int len, char* to,

Review Comment:
   should simple the function, too much if check



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