Skip to content

Commit

Permalink
fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
amorynan committed Jan 14, 2025
1 parent 6be4564 commit af9aec8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ public static boolean checkSupportSchemaChangeForCharType(Type checkType, Type o
}
return true;
} else {
return false;
// both are string no need to check length
return checkType.getPrimitiveType() == PrimitiveType.STRING
&& other.getPrimitiveType() == PrimitiveType.STRING;
}
}

Expand Down

0 comments on commit af9aec8

Please sign in to comment.