Gabriel39 commented on code in PR #23584: URL: https://github.com/apache/doris/pull/23584#discussion_r1307557442
########## be/src/vec/runtime/vsorted_run_merger.cpp: ########## @@ -161,6 +163,13 @@ Status VSortedRunMerger::get_next(Block* output_block, bool* eos) { VectorizedUtils::build_mutable_mem_reuse_block(output_block, _empty_block); MutableColumns& merged_columns = m_block.mutable_columns(); + if (num_columns != merged_columns.size()) { Review Comment: May this block be empty? If so, I think we should skip this empty block here -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org