xiaokang commented on code in PR #37428: URL: https://github.com/apache/doris/pull/37428#discussion_r1677384185
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -2892,11 +2919,24 @@ bool SegmentIterator::_can_opt_topn_reads() const { return false; } - if (!_col_predicates.empty() || !_col_preds_except_leafnode_of_andnode.empty()) { + if (!_common_expr_ctxs_push_down.empty() || !_remaining_conjunct_roots.empty()) { Review Comment: Is the modifications in _can_opt_topn_reads related to mow need_read_key_data? -- 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