You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/27 08:43:56 UTC

[GitHub] [shardingsphere] tuichenchuxin opened a new pull request, #18006: add create view validator

tuichenchuxin opened a new pull request, #18006:
URL: https://github.com/apache/shardingsphere/pull/18006

   For #17915.
   
   Changes proposed in this pull request:
   - add create view sharding validator
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on a diff in pull request #18006: add create view validator

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on code in PR #18006:
URL: https://github.com/apache/shardingsphere/pull/18006#discussion_r883479681


##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {

Review Comment:
   Do you think use the following logic is better?
   ```java
   if (!selectStatement.isPresent()) {
   return;
   }
   ```



##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {
+            TableExtractor extractor = new TableExtractor();
+            extractor.extractTablesFromSelect(selectStatement.get());
+            Collection<SimpleTableSegment> tableSegments = extractor.getRewriteTables();
+            for (SimpleTableSegment each : tableSegments) {
+                String logicTable = each.getTableName().getIdentifier().getValue();
+                if (shardingRule.isShardingTable(logicTable)) {
+                    validateShardingTableAndViewIsBind(shardingRule, sqlStatementContext.getSqlStatement().getView().getTableName().getIdentifier().getValue(), logicTable);

Review Comment:
   Can we rename this method to isBindingTables()? And return boolean type.



##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {
+            TableExtractor extractor = new TableExtractor();
+            extractor.extractTablesFromSelect(selectStatement.get());
+            Collection<SimpleTableSegment> tableSegments = extractor.getRewriteTables();
+            for (SimpleTableSegment each : tableSegments) {
+                String logicTable = each.getTableName().getIdentifier().getValue();
+                if (shardingRule.isShardingTable(logicTable)) {
+                    validateShardingTableAndViewIsBind(shardingRule, sqlStatementContext.getSqlStatement().getView().getTableName().getIdentifier().getValue(), logicTable);
+                }
+            }
+        }
     }
     
     @Override
     public void postValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext, final List<Object> parameters,
                              final ShardingSphereDatabase database, final ConfigurationProperties props, final RouteContext routeContext) {
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        selectStatement.ifPresent(statement -> validateNeedsMerge(statement, routeContext));
+    }
+    
+    private void validateShardingTableAndViewIsBind(final ShardingRule shardingRule, final String logicViewName, final String logicTable) {
+        Collection<String> bindTables = Arrays.asList(logicTable, logicViewName);
+        if (shardingRule.isShardingTable(logicTable) && !shardingRule.isAllBindingTables(bindTables)) {
+            throw new ShardingSphereException("View name has to bind to sharding tables!");
+        }
+    }
+    
+    private void validateNeedsMerge(final SelectStatement selectStatement, final RouteContext routeContext) {
+        if (routeContext.getRouteUnits().size() <= 1) {
+            return;
+        }
+        if (hasGroupBy(selectStatement) || hasAggregation(selectStatement) || hasDistinct(selectStatement) || hasLimit(selectStatement)) {
+            throw new ShardingSphereException("Can not support creating view which has query that needs to be merged!");
+        }
+    }
+    
+    private boolean hasGroupBy(final SelectStatement selectStatement) {
+        return selectStatement.getGroupBy().map(GroupBySegment::getGroupByItems).filter(each -> !each.isEmpty()).isPresent();
+    }
+    
+    private boolean hasAggregation(final SelectStatement selectStatement) {
+        return selectStatement.getProjections().getProjections().stream().anyMatch(each -> each instanceof AggregationProjectionSegment);

Review Comment:
   Please do not use stream api.



##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {
+            TableExtractor extractor = new TableExtractor();
+            extractor.extractTablesFromSelect(selectStatement.get());
+            Collection<SimpleTableSegment> tableSegments = extractor.getRewriteTables();
+            for (SimpleTableSegment each : tableSegments) {
+                String logicTable = each.getTableName().getIdentifier().getValue();
+                if (shardingRule.isShardingTable(logicTable)) {
+                    validateShardingTableAndViewIsBind(shardingRule, sqlStatementContext.getSqlStatement().getView().getTableName().getIdentifier().getValue(), logicTable);
+                }
+            }
+        }
     }
     
     @Override
     public void postValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext, final List<Object> parameters,
                              final ShardingSphereDatabase database, final ConfigurationProperties props, final RouteContext routeContext) {
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        selectStatement.ifPresent(statement -> validateNeedsMerge(statement, routeContext));

Review Comment:
   Can we rename this method to isContainsNotSupportedViewStatement()? And return boolean type.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tuichenchuxin commented on a diff in pull request #18006: add create view validator

Posted by GitBox <gi...@apache.org>.
tuichenchuxin commented on code in PR #18006:
URL: https://github.com/apache/shardingsphere/pull/18006#discussion_r884369944


##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {

Review Comment:
   Thank you. Done.



##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {
+            TableExtractor extractor = new TableExtractor();
+            extractor.extractTablesFromSelect(selectStatement.get());
+            Collection<SimpleTableSegment> tableSegments = extractor.getRewriteTables();
+            for (SimpleTableSegment each : tableSegments) {
+                String logicTable = each.getTableName().getIdentifier().getValue();
+                if (shardingRule.isShardingTable(logicTable)) {
+                    validateShardingTableAndViewIsBind(shardingRule, sqlStatementContext.getSqlStatement().getView().getTableName().getIdentifier().getValue(), logicTable);

Review Comment:
   Thank you. Done.



##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {
+            TableExtractor extractor = new TableExtractor();
+            extractor.extractTablesFromSelect(selectStatement.get());
+            Collection<SimpleTableSegment> tableSegments = extractor.getRewriteTables();
+            for (SimpleTableSegment each : tableSegments) {
+                String logicTable = each.getTableName().getIdentifier().getValue();
+                if (shardingRule.isShardingTable(logicTable)) {
+                    validateShardingTableAndViewIsBind(shardingRule, sqlStatementContext.getSqlStatement().getView().getTableName().getIdentifier().getValue(), logicTable);
+                }
+            }
+        }
     }
     
     @Override
     public void postValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext, final List<Object> parameters,
                              final ShardingSphereDatabase database, final ConfigurationProperties props, final RouteContext routeContext) {
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        selectStatement.ifPresent(statement -> validateNeedsMerge(statement, routeContext));

Review Comment:
   Thank you. Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tuichenchuxin commented on a diff in pull request #18006: add create view validator

Posted by GitBox <gi...@apache.org>.
tuichenchuxin commented on code in PR #18006:
URL: https://github.com/apache/shardingsphere/pull/18006#discussion_r884370002


##########
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/validator/ddl/impl/ShardingCreateViewStatementValidator.java:
##########
@@ -35,11 +45,56 @@ public final class ShardingCreateViewStatementValidator extends ShardingDDLState
     @Override
     public void preValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext,
                             final List<Object> parameters, final ShardingSphereDatabase database) {
-        // TODO prevent if has need merge select.
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        if (selectStatement.isPresent()) {
+            TableExtractor extractor = new TableExtractor();
+            extractor.extractTablesFromSelect(selectStatement.get());
+            Collection<SimpleTableSegment> tableSegments = extractor.getRewriteTables();
+            for (SimpleTableSegment each : tableSegments) {
+                String logicTable = each.getTableName().getIdentifier().getValue();
+                if (shardingRule.isShardingTable(logicTable)) {
+                    validateShardingTableAndViewIsBind(shardingRule, sqlStatementContext.getSqlStatement().getView().getTableName().getIdentifier().getValue(), logicTable);
+                }
+            }
+        }
     }
     
     @Override
     public void postValidate(final ShardingRule shardingRule, final SQLStatementContext<CreateViewStatement> sqlStatementContext, final List<Object> parameters,
                              final ShardingSphereDatabase database, final ConfigurationProperties props, final RouteContext routeContext) {
+        Optional<SelectStatement> selectStatement = sqlStatementContext.getSqlStatement().getSelect();
+        selectStatement.ifPresent(statement -> validateNeedsMerge(statement, routeContext));
+    }
+    
+    private void validateShardingTableAndViewIsBind(final ShardingRule shardingRule, final String logicViewName, final String logicTable) {
+        Collection<String> bindTables = Arrays.asList(logicTable, logicViewName);
+        if (shardingRule.isShardingTable(logicTable) && !shardingRule.isAllBindingTables(bindTables)) {
+            throw new ShardingSphereException("View name has to bind to sharding tables!");
+        }
+    }
+    
+    private void validateNeedsMerge(final SelectStatement selectStatement, final RouteContext routeContext) {
+        if (routeContext.getRouteUnits().size() <= 1) {
+            return;
+        }
+        if (hasGroupBy(selectStatement) || hasAggregation(selectStatement) || hasDistinct(selectStatement) || hasLimit(selectStatement)) {
+            throw new ShardingSphereException("Can not support creating view which has query that needs to be merged!");
+        }
+    }
+    
+    private boolean hasGroupBy(final SelectStatement selectStatement) {
+        return selectStatement.getGroupBy().map(GroupBySegment::getGroupByItems).filter(each -> !each.isEmpty()).isPresent();
+    }
+    
+    private boolean hasAggregation(final SelectStatement selectStatement) {
+        return selectStatement.getProjections().getProjections().stream().anyMatch(each -> each instanceof AggregationProjectionSegment);

Review Comment:
   Thank you. Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu merged pull request #18006: add create view validator

Posted by GitBox <gi...@apache.org>.
strongduanmu merged PR #18006:
URL: https://github.com/apache/shardingsphere/pull/18006


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] codecov-commenter commented on pull request #18006: add create view validator

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on PR #18006:
URL: https://github.com/apache/shardingsphere/pull/18006#issuecomment-1139442582

   # [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/18006?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#18006](https://codecov.io/gh/apache/shardingsphere/pull/18006?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (7d3ae7a) into [master](https://codecov.io/gh/apache/shardingsphere/commit/8442124985cab30ef10bcbfa6229fe984d06df4a?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (8442124) will **decrease** coverage by `0.06%`.
   > The diff coverage is `47.58%`.
   
   > :exclamation: Current head 7d3ae7a differs from pull request most recent head 1e3f5cc. Consider uploading reports for the commit 1e3f5cc to get more accurate results
   
   ```diff
   @@             Coverage Diff              @@
   ##             master   #18006      +/-   ##
   ============================================
   - Coverage     58.99%   58.93%   -0.07%     
   - Complexity     2141     2146       +5     
   ============================================
     Files          3642     3651       +9     
     Lines         54018    54127     +109     
     Branches       9186     9197      +11     
   ============================================
   + Hits          31868    31899      +31     
   - Misses        19437    19518      +81     
   + Partials       2713     2710       -3     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/18006?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...ser/core/common/CommonDistSQLStatementVisitor.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXBhcnNlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvY29yZS9jb21tb24vQ29tbW9uRGlzdFNRTFN0YXRlbWVudFZpc2l0b3IuamF2YQ==) | `0.00% <0.00%> (ø)` | |
   | [...ueryable/ExportDatabaseConfigurationStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JhbC9jb21tb24vcXVlcnlhYmxlL0V4cG9ydERhdGFiYXNlQ29uZmlndXJhdGlvblN0YXRlbWVudC5qYXZh) | `0.00% <ø> (ø)` | |
   | [...l/common/queryable/ShowTableMetadataStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JhbC9jb21tb24vcXVlcnlhYmxlL1Nob3dUYWJsZU1ldGFkYXRhU3RhdGVtZW50LmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...ommon/updatable/RefreshTableMetadataStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JhbC9jb21tb24vdXBkYXRhYmxlL1JlZnJlc2hUYWJsZU1ldGFkYXRhU3RhdGVtZW50LmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...tatement/rql/show/CountDatabaseRulesStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JxbC9zaG93L0NvdW50RGF0YWJhc2VSdWxlc1N0YXRlbWVudC5qYXZh) | `0.00% <ø> (ø)` | |
   | [...ser/statement/rql/show/ShowResourcesStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JxbC9zaG93L1Nob3dSZXNvdXJjZXNTdGF0ZW1lbnQuamF2YQ==) | `0.00% <0.00%> (ø)` | |
   | [.../parser/statement/rql/show/ShowRulesStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JxbC9zaG93L1Nob3dSdWxlc1N0YXRlbWVudC5qYXZh) | `0.00% <0.00%> (ø)` | |
   | [...ement/rql/show/ShowRulesUsedResourceStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JxbC9zaG93L1Nob3dSdWxlc1VzZWRSZXNvdXJjZVN0YXRlbWVudC5qYXZh) | `0.00% <ø> (ø)` | |
   | [...atement/rql/show/ShowUnusedResourcesStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZGlzdHNxbC9zaGFyZGluZ3NwaGVyZS1kaXN0c3FsLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGlzdHNxbC9wYXJzZXIvc3RhdGVtZW50L3JxbC9zaG93L1Nob3dVbnVzZWRSZXNvdXJjZXNTdGF0ZW1lbnQuamF2YQ==) | `0.00% <0.00%> (ø)` | |
   | [...core/DatabaseDiscoveryDistSQLStatementVisitor.java](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtZmVhdHVyZXMvc2hhcmRpbmdzcGhlcmUtZGItZGlzY292ZXJ5L3NoYXJkaW5nc3BoZXJlLWRiLWRpc2NvdmVyeS1kaXN0c3FsL3NoYXJkaW5nc3BoZXJlLWRiLWRpc2NvdmVyeS1kaXN0c3FsLXBhcnNlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvZGJkaXNjb3ZlcnkvZGlzdHNxbC9wYXJzZXIvY29yZS9EYXRhYmFzZURpc2NvdmVyeURpc3RTUUxTdGF0ZW1lbnRWaXNpdG9yLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | ... and [171 more](https://codecov.io/gh/apache/shardingsphere/pull/18006/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere/pull/18006?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/18006?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [8442124...1e3f5cc](https://codecov.io/gh/apache/shardingsphere/pull/18006?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org