Skip to content

Commit

Permalink
[Feature] Support clickhouse jdbc datasource(#40894)
Browse files Browse the repository at this point in the history
  • Loading branch information
DataScientistSamChan committed Mar 21, 2024
1 parent 61f08a1 commit 2ae27f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/exec/jdbc_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ StatusOr<LogicalType> 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(
Expand Down

0 comments on commit 2ae27f0

Please sign in to comment.