Skip to content

Commit

Permalink
[Feature] Support clickhouse jdbc datasource(#40894)
Browse files Browse the repository at this point in the history
Signed-off-by: samcchen <[email protected]>
  • Loading branch information
DataScientistSamChan committed Mar 21, 2024
1 parent b21c4ec commit d64eb2c
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 d64eb2c

Please sign in to comment.