This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new c94e8c1442d branch-4.1: [fix](insert) Avoid formatting generated
insert errors #62982 (#63158)
c94e8c1442d is described below
commit c94e8c1442d29db8de8fd6dc0e0823094a7d952a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed May 13 17:04:25 2026 +0800
branch-4.1: [fix](insert) Avoid formatting generated insert errors #62982
(#63158)
Cherry-picked from #62982
Co-authored-by: foxtail463 <[email protected]>
Co-authored-by: yangtao555 <[email protected]>
---
.../nereids/trees/plans/commands/insert/AbstractInsertExecutor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java
index 39a7381afcf..8c0ac00b961 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/AbstractInsertExecutor.java
@@ -201,8 +201,8 @@ public abstract class AbstractInsertExecutor {
coordinator.cancel(new Status(TStatusCode.CANCELLED, "insert
timeout"));
if (notTimeout) {
errMsg = coordinator.getExecStatus().getErrorMsg();
- ErrorReport.reportDdlException("there exists unhealthy
backend. "
- + errMsg, ErrorCode.ERR_FAILED_WHEN_INSERT);
+ ErrorReport.reportDdlException("%s",
ErrorCode.ERR_FAILED_WHEN_INSERT,
+ "there exists unhealthy backend. " + errMsg);
} else {
ErrorReport.reportDdlException(ErrorCode.ERR_EXECUTE_TIMEOUT);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]