eldenmoon commented on code in PR #55124:
URL: https://github.com/apache/doris/pull/55124#discussion_r2299573881


##########
be/src/olap/rowset/segment_v2/variant/variant_column_reader.cpp:
##########
@@ -353,6 +354,18 @@ Status VariantColumnReader::init(const 
ColumnReaderOptions& opts, const SegmentF
     _statistics = std::make_unique<VariantStatistics>();
     const ColumnMetaPB& self_column_pb = footer.columns(column_id);
     const auto& parent_index = 
opts.tablet_schema->inverted_indexs(self_column_pb.unique_id());
+    // record variant_sparse_column_statistics_size from parent column
+    if (self_column_pb.column_path_info().parrent_column_unique_id() != -1) {

Review Comment:
   use  self_column_pb



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