Skip to content

Commit

Permalink
[Bugfix] [Data Source] fix oracle column type convert error (DataLink…
Browse files Browse the repository at this point in the history
…DC#3757)

Signed-off-by: Zzm0809 <[email protected]>
Co-authored-by: luoshangjie <[email protected]>
Co-authored-by: luoshangjie <[email protected]>
Co-authored-by: 18216499322 <[email protected]>
Co-authored-by: ZackYoung <[email protected]>
Co-authored-by: zackyoungh <[email protected]>
Co-authored-by: Zzm0809 <[email protected]>
Co-authored-by: Zzm0809 <[email protected]>
Co-authored-by: Wink <[email protected]>
  • Loading branch information
9 people authored Sep 1, 2024
1 parent 2c95957 commit 0912de3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public ColumnType convert(Column column, DriverConfig<T> driverConfig) {
}
for (Map.Entry<String, BiFunction<Column, DriverConfig<T>, Optional<ColumnType>>> entry :
convertMap.entrySet()) {
if (column.getType().contains(entry.getKey())) {
if (column.getType().toLowerCase().contains(entry.getKey())) {
Optional<ColumnType> columnType = entry.getValue().apply(column, driverConfig);
if (columnType.isPresent()) {
return columnType.get();
Expand Down

0 comments on commit 0912de3

Please sign in to comment.