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