diff --git a/be/src/pipeline/exec/operator.cpp b/be/src/pipeline/exec/operator.cpp index fb2dd828c3916cb..3b5174d87c0f7fd 100644 --- a/be/src/pipeline/exec/operator.cpp +++ b/be/src/pipeline/exec/operator.cpp @@ -666,7 +666,7 @@ Status AsyncWriterSink::close(RuntimeState* state, Status exec_s if (_writer) { Status st = _writer->get_writer_status(); if (exec_status.ok()) { - _writer->force_close(state->is_cancelled() ? Status::Cancelled("Cancelled") + _writer->force_close(state->is_cancelled() ? state->cancel_reason() : Status::Cancelled("force close")); } else { _writer->force_close(exec_status);