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


##########
be/src/vec/functions/function_convert_tz.h:
##########
@@ -213,6 +207,12 @@ class FunctionConvertTZ : public IFunction {
             ts_value2.from_unixtime(timestamp, to_tz);
         }
 
+        if (!ts_value2.is_valid_date()) [[unlikely]] {

Review Comment:
   should be a simple function to simple the code



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