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 5efafc1b27c Add comment on StandardPipelineTableMetaDataLoader (#32698)
5efafc1b27c is described below

commit 5efafc1b27c2b883e76da83fff8b7951145ef416
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Aug 27 11:25:10 2024 +0800

    Add comment on StandardPipelineTableMetaDataLoader (#32698)
    
    * Refactor PipelineDataSourceSink
    
    * Add comment on StandardPipelineTableMetaDataLoader
---
 .../core/metadata/loader/StandardPipelineTableMetaDataLoader.java        | 1 +
 1 file changed, 1 insertion(+)

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 f37dab2d977..aee15385a8b 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
@@ -120,6 +120,7 @@ public final class StandardPipelineTableMetaDataLoader 
implements PipelineTableM
     private Map<CaseInsensitiveIdentifier, 
Collection<CaseInsensitiveIdentifier>> loadUniqueIndexesOfTable(final 
Connection connection,
                                                                                
                            final String schemaName, final String tableName) 
throws SQLException {
         Map<String, SortedMap<Short, CaseInsensitiveIdentifier>> 
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)) {
             while (resultSet.next()) {
                 String indexName = resultSet.getString("INDEX_NAME");

Reply via email to