Skip to content

Commit

Permalink
Remove redundant Optional in BaseJdbcClient.getColumns
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Aug 31, 2022
1 parent 3ebd9c2 commit db2b6b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ protected ResultSet getColumns(JdbcTableHandle tableHandle, DatabaseMetaData met
return metadata.getColumns(
remoteTableName.getCatalogName().orElse(null),
escapeNamePattern(remoteTableName.getSchemaName(), metadata.getSearchStringEscape()).orElse(null),
escapeNamePattern(Optional.of(remoteTableName.getTableName()), metadata.getSearchStringEscape()).orElse(null),
escapeNamePattern(remoteTableName.getTableName(), metadata.getSearchStringEscape()),
null);
}

Expand Down

0 comments on commit db2b6b1

Please sign in to comment.