This is an automated email from the ASF dual-hosted git repository.
zykkk 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 85294260410 [minor](jdbc) fix wrong log and add more info (#29557)
85294260410 is described below
commit 852942604101526e74c7abcaa9a77a60e9f1c50a
Author: Mingyu Chen <[email protected]>
AuthorDate: Wed Jan 10 14:53:49 2024 +0800
[minor](jdbc) fix wrong log and add more info (#29557)
---
.../java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
index 3273f4b7591..231af739e37 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
@@ -169,8 +169,8 @@ public class JdbcMySQLClient extends JdbcClient {
tableSchema.add(field);
}
} catch (SQLException e) {
- throw new JdbcClientException("failed to get table name list from
jdbc for table %s:%s", e, tableName,
- Util.getRootCauseMessage(e));
+ throw new JdbcClientException("failed to get jdbc columns info for
table %.%s: %s",
+ e, dbName, tableName, Util.getRootCauseMessage(e));
} finally {
close(rs, conn);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]