From 7ddb47dd12301e2034a83be62ee2646950ac8d60 Mon Sep 17 00:00:00 2001 From: raymondchen-byte <1530287922@qq.com> Date: Wed, 13 Dec 2023 09:53:53 +0800 Subject: [PATCH] System table fields updated --- .../main/java/com/databend/jdbc/DatabendDatabaseMetaData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendDatabaseMetaData.java b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendDatabaseMetaData.java index 0b332993..c986ede9 100644 --- a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendDatabaseMetaData.java +++ b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendDatabaseMetaData.java @@ -282,7 +282,7 @@ public String getIdentifierQuoteString() public String getSQLKeywords() throws SQLException { ArrayList keywords = new ArrayList<>(); - try (ResultSet rs = select("SELECT word FROM information_schema.keywords")) { + try (ResultSet rs = select("SELECT keywords FROM information_schema.keywords")) { rs.next(); keywords.add(rs.getString(1)); }