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

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


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

commit ca59c8537ca142c556f4f2eb59f7fc213e03a66e
Author: yujun <[email protected]>
AuthorDate: Tue Oct 8 16:09:15 2024 +0800

    [chore](query err) fix cutting err msg incorrectly #41456 (#41538)
    
    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 f5b6401e9e2..28c45608c5f 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
@@ -1427,15 +1427,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to