yiguolei commented on code in PR #64413:
URL: https://github.com/apache/doris/pull/64413#discussion_r3411410722
##########
be/src/storage/segment/segment_iterator.cpp:
##########
@@ -2091,8 +1969,8 @@ Status SegmentIterator::_vec_init_lazy_materialization() {
}
}
- for (auto pair : _vir_cid_to_idx_in_block) {
- _columns_to_filter.push_back(cast_set<ColumnId>(pair.second));
+ for (const auto& entry : _virtual_column_exprs) {
+
_columns_to_filter.push_back(_schema_block_id_map[entry.first]);
Review Comment:
给这个_columns_to_filter 变量加个注释吧,提醒一下,这个保存的是slot id,不是column id,解释一下为什么
--
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]