From 52fbcd091e81ef4b48373917e2883fef86ce44ac Mon Sep 17 00:00:00 2001 From: samcchen Date: Thu, 21 Mar 2024 21:49:50 +0800 Subject: [PATCH] [Feature] Support clickhouse jdbc datasource(#40894) Signed-off-by: samcchen --- be/src/exec/jdbc_scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/exec/jdbc_scanner.cpp b/be/src/exec/jdbc_scanner.cpp index 37ae717a723ee3..e1a886e24a6604 100644 --- a/be/src/exec/jdbc_scanner.cpp +++ b/be/src/exec/jdbc_scanner.cpp @@ -308,7 +308,7 @@ StatusOr JDBCScanner::_precheck_data_type(const std::string& java_c fmt::format("Type mismatches on column[{}], JDBC result type is Date, please set the type to date", slot_desc->col_name())); } - return TYPE_DATE; + return TYPE_VARCHAR; } else if (java_class == "java.sql.Time") { if (type != TYPE_TIME) { return Status::NotSupported(