Skip to content

Commit

Permalink
[improve][core] get datatype directly if datatype in IcebergDataField…
Browse files Browse the repository at this point in the history
… is not null
  • Loading branch information
LsomeYeah committed Dec 13, 2024
1 parent 6f2fef8 commit a6fdc51
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ private static Object toTypeObject(DataType dataType, int fieldId, int depth) {
}

public DataType getDataType() {
if (dataType != null) {
return dataType;
}
String simpleType = type.toString();
String delimiter = "(";
if (simpleType.contains("[")) {
Expand Down

0 comments on commit a6fdc51

Please sign in to comment.