zzzxl1993 commented on code in PR #42064: URL: https://github.com/apache/doris/pull/42064#discussion_r1805930570
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -2457,6 +2462,13 @@ bool SegmentIterator::_no_need_read_key_data(ColumnId cid, vectorized::MutableCo return false; } + // select count(b) from table where b is null; + // Even if the column "b" has produced a result through index calculation, + // it is still necessary to read the "b" column. + if (_has_is_null_predicate(cid)) { Review Comment: Could the 'key' column also have issues? -- 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