yiguolei commented on code in PR #27787:
URL: https://github.com/apache/doris/pull/27787#discussion_r1410073924
##########
be/src/runtime/type_limit.h:
##########
@@ -108,4 +108,31 @@ struct type_limit<DateV2Value<DateTimeV2ValueType>> {
}
};
+template <typename T>
+constexpr vectorized::UInt32 get_number_max_digits() {
+ if constexpr (std::is_same_v<T, vectorized::UInt8> || std::is_same_v<T,
vectorized::Int8>) {
Review Comment:
add some comment
--
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]