yiguolei commented on code in PR #64413:
URL: https://github.com/apache/doris/pull/64413#discussion_r3411404084
##########
be/src/storage/segment/segment_iterator.cpp:
##########
@@ -579,14 +462,20 @@ Status SegmentIterator::_init_impl(const
StorageReadOptions& opts) {
RETURN_IF_ERROR(_construct_compound_expr_context());
VLOG_DEBUG << fmt::format(
- "Segment iterator init, virtual_column_exprs size: {}, "
- "_vir_cid_to_idx_in_block size: {}, common_expr_pushdown size: {}",
- _opts.virtual_column_exprs.size(),
_opts.vir_cid_to_idx_in_block.size(),
- _common_expr_ctxs_push_down.size());
+ "Segment iterator init, virtual_column_exprs size: {},
common_expr_pushdown size: {}",
+ _opts.virtual_column_exprs.size(),
_common_expr_ctxs_push_down.size());
_initialize_predicate_results();
return Status::OK();
}
+void SegmentIterator::_init_schema_block_id_map() {
+ _schema_block_id_map.assign(_schema->columns().size(), -1);
Review Comment:
感觉这个函数应该在schema 里就行了,相当于从 cid 到slot 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]