yiguolei commented on code in PR #62960:
URL: https://github.com/apache/doris/pull/62960#discussion_r3214293743
##########
be/src/storage/key_coder.h:
##########
@@ -446,4 +448,47 @@ template <>
class KeyCoderTraits<FieldType::OLAP_FIELD_TYPE_DOUBLE>
: public KeyCoderTraitsForFloat<FieldType::OLAP_FIELD_TYPE_DOUBLE> {};
+// Convert a Field value to its storage representation (via
PrimitiveTypeConvertor)
+// and full-encode it as a byte-comparable ascending key via KeyCoder.
+template <PrimitiveType PT>
+inline void full_encode_field_as_key(const Field& f, const KeyCoder* coder,
std::string* buf) {
Review Comment:
string 类型的padding,以及decimal和datetime 类型的scale 是怎么处理的
--
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]