csun5285 commented on code in PR #47541: URL: https://github.com/apache/doris/pull/47541#discussion_r1952157986
########## be/src/olap/rowset/segment_v2/variant_column_writer_impl.cpp: ########## @@ -47,8 +47,9 @@ Status VariantColumnWriterImpl::init() { // caculate stats info std::set<std::string> subcolumn_paths; RETURN_IF_ERROR(_get_subcolumn_paths_from_stats(subcolumn_paths)); - - auto col = vectorized::ColumnObject::create(true); + DCHECK(_opts.variant_max_subcolumns_count >= 0) Review Comment: remove it -- 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