csun5285 commented on code in PR #47541: URL: https://github.com/apache/doris/pull/47541#discussion_r1952159382
########## be/src/olap/rowset/segment_v2/variant_column_writer_impl.cpp: ########## @@ -100,7 +101,10 @@ Status VariantColumnWriterImpl::_get_subcolumn_paths_from_stats(std::set<std::st } // Check if the number of all subcolumn paths exceeds the limit. - if (path_to_total_number_of_non_null_values.size() > config::variant_max_subcolumns_count) { + DCHECK(_opts.variant_max_subcolumns_count >= 0) + << "max subcolumns count is: " << _opts.variant_max_subcolumns_count; + if (_opts.variant_max_subcolumns_count && Review Comment: use tablet_column -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org