HappenLee commented on code in PR #49679: URL: https://github.com/apache/doris/pull/49679#discussion_r2022066743
########## be/src/pipeline/exec/set_sink_operator.cpp: ########## @@ -20,12 +20,35 @@ #include <memory> #include "pipeline/exec/operator.h" +#include "pipeline/pipeline_task.h" #include "vec/common/hash_table/hash_table_set_build.h" #include "vec/core/materialize_block.h" namespace doris::pipeline { #include "common/compile_check_begin.h" +template <bool is_intersect> +Status SetSinkLocalState<is_intersect>::close(RuntimeState* state, Status exec_status) { + if (_closed) { + return Status::OK(); + } + + if (!_runtime_filter_producer_helper || state->is_cancelled() || !_eos) { Review Comment: if (_runtime_filter_producer_helper && state->ok() && _eos) { try { RETURN_IF_ERROR( _runtime_filter_producer_helper->process(state, &_shared_state->build_block)); } catch (Exception& e) { return Status::InternalError( "rf process meet error: {}, wake_up_early: {}, _finish_dependency: {}", e.to_string(), state->get_task()->wake_up_early(), _finish_dependency->debug_string()); } } return Base::close(state, exec_status); -- 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