csun5285 commented on code in PR #54830:
URL: https://github.com/apache/doris/pull/54830#discussion_r2278159366


##########
be/src/olap/rowset/segment_v2/variant/variant_column_reader.cpp:
##########
@@ -283,14 +283,17 @@ Status 
VariantColumnReader::new_iterator(ColumnIteratorUPtr* iterator,
     // If the variant column has extracted columns and is a compaction reader, 
then read flat leaves
     // Otherwise read hierarchical data, since the variant subcolumns are 
flattened in schema_util::VariantCompactionUtil::get_extended_compaction_schema
     // when config::enable_vertical_compact_variant_subcolumns is true
-    auto has_extracted_columns_in_compaction = [](const StorageReadOptions* 
opts) {
+    // For checksum reader, we need to read flat leaves to get the correct 
data if has extracted columns

Review Comment:
   enable_compaction_checksum



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