zclllyybb commented on code in PR #55900:
URL: https://github.com/apache/doris/pull/55900#discussion_r2339110990
##########
be/src/vec/runtime/time_value.h:
##########
@@ -43,7 +43,7 @@ class TimeValue {
constexpr static int64_t ONE_HOUR_SECONDS = 60 * ONE_MINUTE_SECONDS;
constexpr static uint32_t MICROS_SCALE = 6;
constexpr static int64_t MAX_TIME =
- 3024000LL * ONE_SECOND_MICROSECONDS - 1; // 840:00:00 - 1ms ->
838:59:59.999999
+ 3024000LL * ONE_SECOND_MICROSECONDS - 1 - ONE_HOUR_MICROSECONDS;
// 838:59:59.999999
Review Comment:
这样公式有点儿意义不明,直接把前面那个3024000LL改成839*...*...这种形式吧
--
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]