csun5285 commented on code in PR #62960:
URL: https://github.com/apache/doris/pull/62960#discussion_r3214336867
##########
be/src/core/type_limit.h:
##########
@@ -54,6 +56,24 @@ struct type_limit<DecimalV2Value> {
static DecimalV2Value max() { return DecimalV2Value::get_max_decimal(); }
};
+// std::numeric_limits is not specialised for these custom storage types, so
+// the generic type_limit would return T() = zero for both min and max,
+// silently breaking BKD half-bounded range queries.
+
+// DECIMALV2 storage. Largest representable DecimalV2 value (18 digits . 9
digits).
+template <>
+struct type_limit<decimal12_t> {
Review 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]