Fix deprecation warning in BaseJdbcClient
@@ -527,7 +527,7 @@ public class BaseJdbcClient
if (((VarcharType) type).isUnbounded()) {
return "varchar";
}
- return "varchar(" + ((VarcharType) type).getLength() + ")";
+ return "varchar(" + ((VarcharType) type).getLengthSafe() + ")";
}
if (type instanceof CharType) {
if (((CharType) type).getLength() == CharType.MAX_LENGTH) {
