Skip to content

Commit

Permalink
Code format for StandardPipelineTableMetaDataLoader (apache#33981)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Dec 9, 2024
1 parent 7a897ad commit 56bcafa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ private Collection<ShardingSphereIdentifier> loadPrimaryKeys(final Connection co
return result.values();
}

private Map<ShardingSphereIdentifier, Collection<ShardingSphereIdentifier>> loadUniqueKeys(final Connection connection,
final String schemaName, final String tableName) throws SQLException {
private Map<ShardingSphereIdentifier, Collection<ShardingSphereIdentifier>> loadUniqueKeys(final Connection connection, final String schemaName, final String tableName) throws SQLException {
Map<String, SortedMap<Short, ShardingSphereIdentifier>> orderedColumnsOfIndexes = new LinkedHashMap<>();
// Set approximate=true to avoid Oracle driver 19 run `analyze table`
try (ResultSet resultSet = connection.getMetaData().getIndexInfo(connection.getCatalog(), schemaName, tableName, true, true)) {
Expand Down

0 comments on commit 56bcafa

Please sign in to comment.