csun5285 commented on code in PR #66472:
URL: https://github.com/apache/doris/pull/66472#discussion_r3765444941
##########
be/src/storage/segment/segment_iterator.cpp:
##########
@@ -1467,38 +1402,31 @@ bool SegmentIterator::_need_read_data(ColumnId cid) {
// A column can skip data reads when its predicates have already been
fully resolved.
// zonemap_always_true_pred_cols is produced only for non-key columns
because key columns
// must remain readable for short-key range seeks.
- const bool used_by_common_expr =
- cid < _is_common_expr_column.size() && _is_common_expr_column[cid];
+ const bool used_by_common_expr = _column_states[cid].is_common_expr;
Review Comment:
都在
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]