yiguolei commented on code in PR #39586:
URL: https://github.com/apache/doris/pull/39586#discussion_r1722596342
##########
be/src/pipeline/local_exchange/local_exchanger.cpp:
##########
@@ -266,6 +266,16 @@ void
PassthroughExchanger::close(LocalExchangeSourceLocalState& local_state) {
}
}
+void PassToOneExchanger::close(LocalExchangeSourceLocalState& local_state) {
+ vectorized::Block next_block;
+ BlockWrapperSPtr wrapper;
+ bool eos;
+ _data_queue[local_state._channel_id].set_eos();
+ while (_dequeue_data(local_state, wrapper, &eos, &next_block)) {
+ next_block = vectorized::Block();
Review Comment:
为啥要有这一行? 感觉不做任何处理也是ok的
--
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]