This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new e73b6aa45c4 [chore](query err) fix cutting err msg incorrectly #41456 
(#41998)
e73b6aa45c4 is described below

commit e73b6aa45c4ecb8338b00c06f2e2264402084f05
Author: yujun <yu.jun.re...@gmail.com>
AuthorDate: Sun Oct 20 10:56:41 2024 +0800

    [chore](query err) fix cutting err msg incorrectly #41456 (#41998)
    
    cherry pick from #41456
---
 fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
index 3d9f6f33d94..8f558726bff 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
@@ -1189,15 +1189,6 @@ public class Coordinator implements CoordInterface {
             } else {
                 String errMsg = copyStatus.getErrorMsg();
                 LOG.warn("query failed: {}", errMsg);
-
-                // hide host info exclude localhost
-                if (errMsg.contains("localhost")) {
-                    throw new UserException(errMsg);
-                }
-                int hostIndex = errMsg.indexOf("host");
-                if (hostIndex != -1) {
-                    errMsg = errMsg.substring(0, hostIndex);
-                }
                 throw new UserException(errMsg);
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to