Skip to content

Commit

Permalink
[Bug] [connector-jdbc] Catalog's SELECT_COLUMNS_SQL_TEMPLATE have som…
Browse files Browse the repository at this point in the history
…e issues. (apache#6054)
  • Loading branch information
zhuqy committed Mar 25, 2024
1 parent b3e9cfc commit d7e7667
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ protected Column buildColumn(ResultSet resultSet) throws SQLException {
long columnLength = resultSet.getLong("max_length");
String comment = resultSet.getString("comment");
Object defaultValue = resultSet.getObject("default_value");
boolean isNullable = resultSet.getBoolean("is_nullable");
boolean isNullable = resultSet.getString("is_nullable").equals("YES");

BasicTypeDefine typeDefine =
BasicTypeDefine.builder()
Expand Down

0 comments on commit d7e7667

Please sign in to comment.