From cd426de0b330d829d33d1a570db306db0e269a8f Mon Sep 17 00:00:00 2001 From: zyyang Date: Tue, 19 Jan 2021 19:16:22 +0800 Subject: [PATCH] change --- .../src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java b/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java index dac44e32c8..21f62828c4 100644 --- a/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java +++ b/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java @@ -1137,7 +1137,7 @@ public class TSDBDatabaseMetaData implements java.sql.DatabaseMetaData { columnMetaDataList.add(col4); resultSet.setColumnMetaDataList(columnMetaDataList); - ResultSet rs = stmt.executeQuery("show talbes like '" + tableNamePattern + "'"); + ResultSet rs = stmt.executeQuery("show tables like '" + tableNamePattern + "'"); List rowDataList = new ArrayList<>(); while (rs.next()) { TSDBResultSetRowData rowData = new TSDBResultSetRowData(4); -- GitLab