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


##########
be/src/storage/index/primary_key_index.cpp:
##########
@@ -42,7 +42,7 @@ Status PrimaryKeyIndexBuilder::init() {
     options.write_ordinal_index = true;
     options.write_value_index = true;
     options.data_page_size = config::primary_key_data_page_size;
-    options.encoding = segment_v2::EncodingInfo::get_default_encoding(type, 
{}, true);
+    options.encoding = segment_v2::EncodingInfo::get_value_seek_encoding(type);

Review Comment:
   这个type 一定是varchar 吗?



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