Gabriel39 commented on code in PR #9792: URL: https://github.com/apache/incubator-doris/pull/9792#discussion_r882702083
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -705,6 +704,9 @@ void SegmentIterator::_vec_init_lazy_materialization() { // _schema.column_ids() stands for storage layer block schema, so it contains delete columnid // we just regard delete column as common pred column here. if (_schema.column_ids().size() > pred_column_ids.size()) { + if (pred_column_ids.size() > 0) { Review Comment: remove for-loop codes below -- 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