Skip to content

Commit

Permalink
add log info
Browse files Browse the repository at this point in the history
  • Loading branch information
vinlee19 committed Aug 13, 2024
1 parent 726a3a9 commit a4f75a7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ public LinkedHashMap<String, FieldSchema> getColumnInfo(
if (rs.wasNull()) {
scale = null;
}
String dorisTypeStr = convertToDorisType(fieldType, precision, scale);
String dorisTypeStr = null;
try {
dorisTypeStr = convertToDorisType(fieldType, precision, scale);
} catch (UnsupportedOperationException e) {
throw new UnsupportedOperationException(e + " in table: " + tableName);
}
fields.put(fieldName, new FieldSchema(fieldName, dorisTypeStr, comment));
}
}
Expand Down

0 comments on commit a4f75a7

Please sign in to comment.