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

morningman 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 a16b6829e6a [fix](TrinoConnector) fix the error message when querying 
a not-existent table with TrinoConnector (#45799)
a16b6829e6a is described below

commit a16b6829e6afed3efe2c503cca04340529ce0e98
Author: Tiewei Fang <fangtie...@selectdb.com>
AuthorDate: Tue Dec 24 10:40:58 2024 +0800

    [fix](TrinoConnector) fix the error message when querying a not-existent 
table with TrinoConnector (#45799)
    
    Problem Summary:
    fix the error message when querying a not-existent table with
    TrinoConnector
---
 .../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