You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2024/12/09 14:58:48 UTC
(shardingsphere) branch master updated: Code format for StandardPipelineTableMetaDataLoader (#33981)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 56bcafa3d79 Code format for StandardPipelineTableMetaDataLoader (#33981)
56bcafa3d79 is described below
commit 56bcafa3d799f1807e996d8866cc535bf7531b91
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Mon Dec 9 22:58:41 2024 +0800
Code format for StandardPipelineTableMetaDataLoader (#33981)
---
.../core/metadata/loader/StandardPipelineTableMetaDataLoader.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/loader/StandardPipelineTableMetaDataLoader.java b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/loader/StandardPipelineTableMetaDataLoader.java
index 75da750797e..d1a11519e66 100644
--- a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/loader/StandardPipelineTableMetaDataLoader.java
+++ b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/loader/StandardPipelineTableMetaDataLoader.java
@@ -124,8 +124,7 @@ public final class StandardPipelineTableMetaDataLoader implements PipelineTableM
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)) {