yiguolei commented on code in PR #17684: URL: https://github.com/apache/doris/pull/17684#discussion_r1141239080
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -1186,6 +1187,13 @@ void SegmentIterator::_vec_init_lazy_materialization() { _is_pred_column[cid] = true; pred_column_ids.insert(cid); + if (predicate->need_to_clone()) { Review Comment: Not modify here, modify it in Status SegmentIterator::init(const StorageReadOptions& opts) { _opts = opts; if (!opts.column_predicates.empty()) { _col_predicates = opts.column_predicates; } during init process, I think we could clone predicates and replace 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