From 36ee0625c3ed430c87c918bdf32349b6ad031281 Mon Sep 17 00:00:00 2001 From: cdmikechen Date: Sat, 9 Dec 2023 19:45:08 +0800 Subject: [PATCH] Fix column type name error --- .../src/main/java/com/databend/jdbc/DatabendColumnInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendColumnInfo.java b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendColumnInfo.java index 705ab8df..070dd10d 100644 --- a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendColumnInfo.java +++ b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendColumnInfo.java @@ -226,7 +226,7 @@ public Nullable getNullable() { } public String getColumnTypeName() { - return type.toString(); + return type.getDataType().getDisplayName(); } public boolean isCurrency() {