uchenily commented on code in PR #60772:
URL: https://github.com/apache/doris/pull/60772#discussion_r2809257970
##########
be/src/olap/rowset/beta_rowset_reader.cpp:
##########
@@ -330,13 +334,14 @@ Status BetaRowsetReader::_init_iterator() {
}
_iterator = vectorized::new_merge_iterator(
std::move(iterators), sequence_loc, _read_context->is_unique,
- _read_context->read_orderby_key_reverse,
_read_context->merged_rows);
+ _read_context->read_orderby_key_reverse,
_read_context->merged_rows,
+ _output_schema.get());
Review Comment:
这个地方创建_iterator, _output_schema都是BetaRowsetReader的成员变量,
在析构之前output_schema.get()都是有效的, 不存在生命周期的问题
--
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]