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 1908e84dd96d5e2d94c86629a0bfff7605a72af4..9aed2df3018469c68123d0f6a9e4b070cd035c64 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 @@ -689,11 +689,11 @@ public class TSDBDatabaseMetaData implements java.sql.DatabaseMetaData { // set up rowDataList List rowDataList = new ArrayList<>(); TSDBResultSetRowData rowData = new TSDBResultSetRowData(1); - rowData.setString(1, "TABLE"); - rowDataList.add(rowData); - rowData = new TSDBResultSetRowData(1); - rowData.setString(1, "STABLE"); + rowData.setString(0, "TABLE"); rowDataList.add(rowData); +// rowData = new TSDBResultSetRowData(1); +// rowData.setString(0, "STABLE"); +// rowDataList.add(rowData); resultSet.setRowDataList(rowDataList); return resultSet;