Mryange commented on code in PR #54760:
URL: https://github.com/apache/doris/pull/54760#discussion_r2278529234


##########
be/src/olap/types.h:
##########
@@ -1047,7 +1047,7 @@ struct FieldTypeTraits<FieldType::OLAP_FIELD_TYPE_FLOAT>
     }
     static std::string to_string(const void* src) {
         char buf[1024] = {'\0'};
-        int length = to_buffer(*reinterpret_cast<const CppType*>(src), 
MAX_FLOAT_STR_LENGTH, buf);
+        int length = fast_to_buffer(*reinterpret_cast<const CppType*>(src), 
buf);

Review Comment:
   为什么是调用这个fast_to_buffer,而不是调用CastToString



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