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 5b543dd0aba branch-3.0: [fix](TrinoConnector) fix the error message 
when querying a not-existent table with TrinoConnector #45799 (#45835)
5b543dd0aba is described below

commit 5b543dd0abaf57494c6a8dda70d6ad827dad5cb2
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 25 09:39:58 2024 +0800

    branch-3.0: [fix](TrinoConnector) fix the error message when querying a 
not-existent table with TrinoConnector #45799 (#45835)
    
    Cherry-picked from #45799
    
    Co-authored-by: Tiewei Fang <fangtie...@selectdb.com>
---
 .../doris/datasource/trinoconnector/TrinoConnectorExternalTable.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/datasource/trinoconnector/TrinoConnectorExternalTable.java
 
b/fe/fe-core/src/main/java/org/apache/doris/datasource/trinoconnector/TrinoConnectorExternalTable.java
index 27f9b8086a9..007ad864da3 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/datasource/trinoconnector/TrinoConnectorExternalTable.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/datasource/trinoconnector/TrinoConnectorExternalTable.java
@@ -108,7 +108,8 @@ public class TrinoConnectorExternalTable extends 
ExternalTable {
                     qualifiedTable.asSchemaTableName(), Optional.empty(), 
Optional.empty()));
         }
         if (!connectorTableHandle.isPresent()) {
-            throw new RuntimeException(String.format("Table does not exist: 
%s.%s.%s", qualifiedTable));
+            throw new RuntimeException(String.format("Table does not exist: 
%s.%s.%s", trinoConnectorCatalog.getName(),
+                    dbName, name));
         }
 
         // 4. Get ColumnHandle


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

Reply via email to