This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 94677b486d6 [log](info) Print stack trace for assert_cast (#56091)
94677b486d6 is described below
commit 94677b486d67e0e6507a828e57befaf2a159bece
Author: Gabriel <[email protected]>
AuthorDate: Tue Sep 16 22:21:51 2025 +0800
[log](info) Print stack trace for assert_cast (#56091)
---
be/src/common/status.h | 2 +-
be/test/vec/aggregate_functions/agg_function_test.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/common/status.h b/be/src/common/status.h
index 72b1a5ab6b9..8a1081935ab 100644
--- a/be/src/common/status.h
+++ b/be/src/common/status.h
@@ -300,7 +300,7 @@ namespace ErrorCode {
E(INVALID_TABLET_STATE, -7211, false); \
E(ROWSETS_EXPIRED, -7311, false); \
E(CGROUP_ERROR, -7411, false); \
- E(FATAL_ERROR, -7412, false);
+ E(FATAL_ERROR, -7412, true);
// Define constexpr int error_code_name = error_code_value
#define M(NAME, ERRORCODE, ENABLESTACKTRACE) constexpr int NAME = ERRORCODE;
diff --git a/be/test/vec/aggregate_functions/agg_function_test.h
b/be/test/vec/aggregate_functions/agg_function_test.h
index 56140323883..2b6aa84a0e2 100644
--- a/be/test/vec/aggregate_functions/agg_function_test.h
+++ b/be/test/vec/aggregate_functions/agg_function_test.h
@@ -89,7 +89,7 @@ private:
EXPECT_EQ(e.code(), ErrorCode::FATAL_ERROR);
EXPECT_THAT(
e.to_string().c_str(),
- ::testing::EndsWith("only LLM aggregate functions
implement this method"));
+ ::testing::HasSubstr("only LLM aggregate functions
implement this method"));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]