This is an automated email from the ASF dual-hosted git repository. gabriellee pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new d38461616c [Pipeline](error msg) format error message (#15247) d38461616c is described below commit d38461616c042d34433bc90ed137d78287a3cdea Author: Gabriel <gabrielleeb...@gmail.com> AuthorDate: Thu Dec 22 20:55:06 2022 +0800 [Pipeline](error msg) format error message (#15247) --- be/src/pipeline/task_scheduler.cpp | 6 +++--- .../query_p0/sql_functions/cast_function/test_cast_function.groovy | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/be/src/pipeline/task_scheduler.cpp b/be/src/pipeline/task_scheduler.cpp index 9175fc6853..915a2e8935 100644 --- a/be/src/pipeline/task_scheduler.cpp +++ b/be/src/pipeline/task_scheduler.cpp @@ -245,10 +245,10 @@ void TaskScheduler::_do_work(size_t index) { auto status = task->execute(&eos); task->set_previous_core_id(index); if (!status.ok()) { - LOG(WARNING) << "Pipeline task execute task fail " << task->debug_string() << " " - << status.to_string(); + LOG(WARNING) << fmt::format("Pipeline task [{}] failed: {}", task->debug_string(), + status.to_string()); // exec failed,cancel all fragment instance - fragment_ctx->cancel(PPlanFragmentCancelReason::INTERNAL_ERROR, "execute fail"); + fragment_ctx->cancel(PPlanFragmentCancelReason::INTERNAL_ERROR, status.to_string()); _try_close_task(task, CANCELED); continue; } diff --git a/regression-test/suites/query_p0/sql_functions/cast_function/test_cast_function.groovy b/regression-test/suites/query_p0/sql_functions/cast_function/test_cast_function.groovy index ed88ad4fe5..9cc25f6030 100644 --- a/regression-test/suites/query_p0/sql_functions/cast_function/test_cast_function.groovy +++ b/regression-test/suites/query_p0/sql_functions/cast_function/test_cast_function.groovy @@ -37,7 +37,7 @@ suite("test_cast_function") { end as bitmap ) is NULL """ - exception "errCode = 2, detailMessage = [INVALID_ARGUMENT]Conversion from UInt8 to BitMap is not supported" + exception "[INVALID_ARGUMENT]Conversion from UInt8 to BitMap is not supported" } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org