yiguolei commented on code in PR #64010:
URL: https://github.com/apache/doris/pull/64010#discussion_r3387487220
##########
be/src/storage/rowset/beta_rowset_reader.cpp:
##########
@@ -100,6 +100,8 @@ Status
BetaRowsetReader::get_segment_iterators(RowsetReaderContext* read_context
_read_options.stats = _stats;
_read_options.push_down_agg_type_opt =
_read_context->push_down_agg_type_opt;
_read_options.common_expr_ctxs_push_down =
_read_context->common_expr_ctxs_push_down;
+ DORIS_CHECK(_read_context->origin_return_columns != nullptr);
Review Comment:
这种代价不大,而且我们一旦出错可能会core的逻辑,直接不要dcheck了,直接报错吧
--
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]