HappenLee commented on code in PR #22855:
URL: https://github.com/apache/doris/pull/22855#discussion_r1292955761
##########
be/src/vec/functions/function_datetime_floor_ceil.cpp:
##########
@@ -474,6 +485,83 @@ struct TimeRound {
is_null = !ts1.template date_add_interval<Impl::Unit>(interval);
}
+ static constexpr uint64_t MASK_DAY_FLOOR =
+ 0b1111111111111111111111111110000000000000000000000000000000000000;
+ static constexpr uint64_t MASK_HOUR_FLOOR =
+ 0b1111111111111111111111111111111100000000000000000000000000000000;
+ static constexpr uint64_t MASK_MINUTE_FLOOR =
+ 0b1111111111111111111111111111111111111100000000000000000000000000;
+ static constexpr uint64_t MASK_SECOND_FLOOR =
+ 0b1111111111111111111111111111111111111111111100000000000000000000;
+
+ static constexpr bool use_Optimize_floor =
Review Comment:
use_Optimize_floor should be USE_OPTIMIZE_FLOOR
--
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]