yiguolei commented on code in PR #51766:
URL: https://github.com/apache/doris/pull/51766#discussion_r2160599430


##########
be/src/util/jsonb_document.h:
##########
@@ -1377,41 +1285,55 @@ inline bool JsonbValue::contains(JsonbValue* rhs) const 
{
     case JsonbType::T_False: {
         return rhs->isFalse();
     }
-    default:
+    case JsonbType::T_Decimal32: {
+        if (rhs->isDecimal32()) {
+            return unpack<JsonbDecimal32>()->val() == 
rhs->unpack<JsonbDecimal32>()->val() &&

Review Comment:
   decimal 的相等,比如如果一个decimal(10,2)的数字, 1.1  和 decimal(9,2)的数字,1.1  是不相等的吗? 



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

Reply via email to