csun5285 commented on code in PR #55124:
URL: https://github.com/apache/doris/pull/55124#discussion_r2297772484
##########
be/src/olap/tablet_schema.h:
##########
@@ -275,6 +284,8 @@ class TabletColumn : public MetadataAdder<TabletColumn> {
int32_t _variant_max_subcolumns_count = 0;
PatternTypePB _pattern_type = PatternTypePB::MATCH_NAME_GLOB;
bool _variant_enable_typed_paths_to_sparse = false;
+ // set variant_max_sparse_column_statistics_size
+ int32_t _variant_max_sparse_column_statistics_size = 0;
Review Comment:
10000
##########
be/src/olap/rowset/segment_v2/variant/variant_column_reader.cpp:
##########
@@ -378,6 +379,18 @@ Status VariantColumnReader::init(const
ColumnReaderOptions& opts, const SegmentF
vectorized::PathInData path;
path.from_protobuf(column_pb.column_path_info());
+ // record variant_sparse_column_statistics_size from parent column
+ if (column_pb.column_path_info().parrent_column_unique_id() != -1) {
+ _variant_sparse_column_statistics_size =
Review Comment:
不用在for 循环里,在357 行前面初始化这个
--
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]