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 2021/09/22 09:58:47 UTC
[GitHub] [shardingsphere] justbk2015 opened a new pull request #12621: modify decoding plugin to mppdb_decoding and repair actual table name
justbk2015 opened a new pull request #12621:
URL: https://github.com/apache/shardingsphere/pull/12621
… issue
Fixes #12620.
Changes proposed in this pull request:
- change decoding plugin from test_decoding to mppdb_decoding.
- skip drop replication slot if already exists.
- ignore exception in dump thread if slot already in use.
- skip recreate primary key exception.
- repair logical and actual table name incorrent get issue.
- remove with sql in create table.
--
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] sandynz commented on a change in pull request #12621: modify decoding plugin to mppdb_decoding and repair actual table name
Posted by GitBox <gi...@apache.org>.
sandynz commented on a change in pull request #12621:
URL: https://github.com/apache/shardingsphere/pull/12621#discussion_r713885298
##########
File path: shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-opengauss/src/main/java/org/apache/shardingsphere/scaling/opengauss/component/checker/OpenGaussDataSourcePreparer.java
##########
@@ -57,7 +60,14 @@ public void prepareTargetTables(final JobConfiguration jobConfig) {
Connection targetConnection = targetDataSource.getConnection()) {
for (Entry<String, Collection<String>> entry : createLogicTableSQLs.entrySet()) {
for (String each : entry.getValue()) {
- executeTargetTableSQL(targetConnection, each);
+ try {
+ executeTargetTableSQL(targetConnection, each);
+ } catch (SQLException sqlExp) {
Review comment:
Could be `final SQLException ex`.
##########
File path: shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-opengauss/src/main/java/org/apache/shardingsphere/scaling/opengauss/component/checker/OpenGaussDataSourcePreparer.java
##########
@@ -123,18 +133,51 @@ private String queryTableDefinition(final Connection sourceConnection, final int
case CREATE_TABLE:
sql = addIfNotExistsForCreateTableSQL(sql);
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
+ sql = skipCreateTableExtendSet(sql);
return sql;
case ALTER_TABLE:
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
return sql;
- case UNKNOWN:
- return sql;
default:
- return sql;
+ return "";
}
- }).collect(Collectors.toList());
+ }).filter(sql -> !"".equals(sql)).collect(Collectors.toList());
result.put(each.getLogicTableName(), logicTableSQLs);
}
return result;
}
+
+ @Override
+ protected String replaceActualTableNameToLogicTableName(final String createOrAlterTableSQL, final String actualTableName, final String logicTableName) {
+ StringBuilder sb = new StringBuilder(createOrAlterTableSQL);
Review comment:
`sb` could be meaningful variable name.
##########
File path: shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-opengauss/src/main/java/org/apache/shardingsphere/scaling/opengauss/component/checker/OpenGaussDataSourcePreparer.java
##########
@@ -123,18 +133,51 @@ private String queryTableDefinition(final Connection sourceConnection, final int
case CREATE_TABLE:
sql = addIfNotExistsForCreateTableSQL(sql);
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
+ sql = skipCreateTableExtendSet(sql);
return sql;
case ALTER_TABLE:
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
return sql;
- case UNKNOWN:
- return sql;
default:
- return sql;
+ return "";
}
- }).collect(Collectors.toList());
+ }).filter(sql -> !"".equals(sql)).collect(Collectors.toList());
result.put(each.getLogicTableName(), logicTableSQLs);
}
return result;
}
+
+ @Override
+ protected String replaceActualTableNameToLogicTableName(final String createOrAlterTableSQL, final String actualTableName, final String logicTableName) {
+ StringBuilder sb = new StringBuilder(createOrAlterTableSQL);
+ while (true) {
+ int start = sb.indexOf(actualTableName);
+ if (start <= 0) {
+ return sb.toString();
+ }
+ int end = start + actualTableName.length();
+ sb.replace(start, end, logicTableName);
+ }
+ }
+
+ private String skipCreateTableExtendSet(final String createSql) {
+ String lowerCreateSql = createSql.toLowerCase();
+ String[] search = {WITH_OF_TABLE_EXTEND, ")"};
+ List<Integer> searchPos = new ArrayList<>(2);
+ int startPos = 0;
+ for (String str: search) {
+ int curSearch = lowerCreateSql.indexOf(str, startPos);
+ if (curSearch <= 0) {
+ break;
+ }
+ searchPos.add(curSearch);
+ startPos = curSearch;
+ }
+ // if not search with ( and ), nothing to do.
Review comment:
Could be removed.
Code of conduct: Split codes that need to add notes with it into small methods, which are explained with method names.
##########
File path: shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-opengauss/src/main/java/org/apache/shardingsphere/scaling/opengauss/component/checker/OpenGaussDataSourcePreparer.java
##########
@@ -123,18 +133,51 @@ private String queryTableDefinition(final Connection sourceConnection, final int
case CREATE_TABLE:
sql = addIfNotExistsForCreateTableSQL(sql);
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
+ sql = skipCreateTableExtendSet(sql);
return sql;
case ALTER_TABLE:
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
return sql;
- case UNKNOWN:
- return sql;
default:
- return sql;
+ return "";
}
- }).collect(Collectors.toList());
+ }).filter(sql -> !"".equals(sql)).collect(Collectors.toList());
result.put(each.getLogicTableName(), logicTableSQLs);
}
return result;
}
+
+ @Override
+ protected String replaceActualTableNameToLogicTableName(final String createOrAlterTableSQL, final String actualTableName, final String logicTableName) {
+ StringBuilder sb = new StringBuilder(createOrAlterTableSQL);
+ while (true) {
+ int start = sb.indexOf(actualTableName);
+ if (start <= 0) {
+ return sb.toString();
+ }
+ int end = start + actualTableName.length();
+ sb.replace(start, end, logicTableName);
+ }
+ }
+
+ private String skipCreateTableExtendSet(final String createSql) {
+ String lowerCreateSql = createSql.toLowerCase();
+ String[] search = {WITH_OF_TABLE_EXTEND, ")"};
+ List<Integer> searchPos = new ArrayList<>(2);
+ int startPos = 0;
+ for (String str: search) {
+ int curSearch = lowerCreateSql.indexOf(str, startPos);
+ if (curSearch <= 0) {
+ break;
+ }
+ searchPos.add(curSearch);
+ startPos = curSearch;
+ }
+ // if not search with ( and ), nothing to do.
+ if (searchPos.size() != 2) {
+ return createSql;
+ }
+
Review comment:
Blank line could be removed.
##########
File path: shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-opengauss/src/main/java/org/apache/shardingsphere/scaling/opengauss/component/checker/OpenGaussDataSourcePreparer.java
##########
@@ -123,18 +133,51 @@ private String queryTableDefinition(final Connection sourceConnection, final int
case CREATE_TABLE:
sql = addIfNotExistsForCreateTableSQL(sql);
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
+ sql = skipCreateTableExtendSet(sql);
return sql;
case ALTER_TABLE:
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
return sql;
- case UNKNOWN:
- return sql;
default:
- return sql;
+ return "";
}
- }).collect(Collectors.toList());
+ }).filter(sql -> !"".equals(sql)).collect(Collectors.toList());
result.put(each.getLogicTableName(), logicTableSQLs);
}
return result;
}
+
+ @Override
+ protected String replaceActualTableNameToLogicTableName(final String createOrAlterTableSQL, final String actualTableName, final String logicTableName) {
+ StringBuilder sb = new StringBuilder(createOrAlterTableSQL);
+ while (true) {
+ int start = sb.indexOf(actualTableName);
+ if (start <= 0) {
+ return sb.toString();
+ }
+ int end = start + actualTableName.length();
+ sb.replace(start, end, logicTableName);
+ }
+ }
+
+ private String skipCreateTableExtendSet(final String createSql) {
+ String lowerCreateSql = createSql.toLowerCase();
Review comment:
`Sql` could be `SQL`
##########
File path: shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-opengauss/src/main/java/org/apache/shardingsphere/scaling/opengauss/component/checker/OpenGaussDataSourcePreparer.java
##########
@@ -123,18 +133,51 @@ private String queryTableDefinition(final Connection sourceConnection, final int
case CREATE_TABLE:
sql = addIfNotExistsForCreateTableSQL(sql);
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
+ sql = skipCreateTableExtendSet(sql);
return sql;
case ALTER_TABLE:
sql = replaceActualTableNameToLogicTableName(sql, each.getActualTableName(), each.getLogicTableName());
return sql;
- case UNKNOWN:
- return sql;
default:
- return sql;
+ return "";
}
- }).collect(Collectors.toList());
+ }).filter(sql -> !"".equals(sql)).collect(Collectors.toList());
result.put(each.getLogicTableName(), logicTableSQLs);
}
return result;
}
+
+ @Override
+ protected String replaceActualTableNameToLogicTableName(final String createOrAlterTableSQL, final String actualTableName, final String logicTableName) {
+ StringBuilder sb = new StringBuilder(createOrAlterTableSQL);
+ while (true) {
+ int start = sb.indexOf(actualTableName);
+ if (start <= 0) {
+ return sb.toString();
+ }
+ int end = start + actualTableName.length();
+ sb.replace(start, end, logicTableName);
+ }
+ }
+
+ private String skipCreateTableExtendSet(final String createSql) {
+ String lowerCreateSql = createSql.toLowerCase();
+ String[] search = {WITH_OF_TABLE_EXTEND, ")"};
+ List<Integer> searchPos = new ArrayList<>(2);
+ int startPos = 0;
+ for (String str: search) {
Review comment:
`String str` could be `String each`
--
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 edited a comment on pull request #12621: modify decoding plugin to mppdb_decoding and repair actual table name
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #12621:
URL: https://github.com/apache/shardingsphere/pull/12621#issuecomment-924983076
# [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12621?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 [#12621](https://codecov.io/gh/apache/shardingsphere/pull/12621?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (8b77464) into [master](https://codecov.io/gh/apache/shardingsphere/commit/6ce616322361d187ffddd1685618bd17fc35f694?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (6ce6163) will **decrease** coverage by `0.09%`.
> The diff coverage is `0.00%`.
[](https://codecov.io/gh/apache/shardingsphere/pull/12621?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #12621 +/- ##
============================================
- Coverage 63.43% 63.34% -0.10%
- Complexity 1306 1328 +22
============================================
Files 2411 2439 +28
Lines 36764 37071 +307
Branches 6379 6407 +28
============================================
+ Hits 23322 23483 +161
- Misses 11552 11695 +143
- Partials 1890 1893 +3
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/12621?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [.../core/job/preparer/AbstractDataSourcePreparer.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9qb2IvcHJlcGFyZXIvQWJzdHJhY3REYXRhU291cmNlUHJlcGFyZXIuamF2YQ==) | `32.07% <0.00%> (-1.93%)` | :arrow_down: |
| [...caling/opengauss/component/OpenGaussWalDumper.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc2NhbGluZy1vcGVuZ2F1c3Mvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvb3BlbmdhdXNzL2NvbXBvbmVudC9PcGVuR2F1c3NXYWxEdW1wZXIuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...component/checker/OpenGaussDataSourcePreparer.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc2NhbGluZy1vcGVuZ2F1c3Mvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvb3BlbmdhdXNzL2NvbXBvbmVudC9jaGVja2VyL09wZW5HYXVzc0RhdGFTb3VyY2VQcmVwYXJlci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...ing/opengauss/wal/OpenGaussLogicalReplication.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc2NhbGluZy1vcGVuZ2F1c3Mvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvb3BlbmdhdXNzL3dhbC9PcGVuR2F1c3NMb2dpY2FsUmVwbGljYXRpb24uamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...ere/proxy/frontend/executor/UserExecutorGroup.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktZnJvbnRlbmQvc2hhcmRpbmdzcGhlcmUtcHJveHktZnJvbnRlbmQtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvZnJvbnRlbmQvZXhlY3V0b3IvVXNlckV4ZWN1dG9yR3JvdXAuamF2YQ==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [...gsphere/mode/metadata/MetaDataContextsBuilder.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtbW9kZS9zaGFyZGluZ3NwaGVyZS1tb2RlLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL21vZGUvbWV0YWRhdGEvTWV0YURhdGFDb250ZXh0c0J1aWxkZXIuamF2YQ==) | `70.00% <0.00%> (-25.46%)` | :arrow_down: |
| [.../apache/shardingsphere/shadow/rule/ShadowRule.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtZmVhdHVyZXMvc2hhcmRpbmdzcGhlcmUtc2hhZG93L3NoYXJkaW5nc3BoZXJlLXNoYWRvdy1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9zaGFkb3cvcnVsZS9TaGFkb3dSdWxlLmphdmE=) | `70.27% <0.00%> (-6.93%)` | :arrow_down: |
| [...ore/statement/ShardingSpherePreparedStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtamRiYy9zaGFyZGluZ3NwaGVyZS1qZGJjLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL2RyaXZlci9qZGJjL2NvcmUvc3RhdGVtZW50L1NoYXJkaW5nU3BoZXJlUHJlcGFyZWRTdGF0ZW1lbnQuamF2YQ==) | `75.00% <0.00%> (-5.59%)` | :arrow_down: |
| [...shardingsphere/mode/metadata/MetaDataContexts.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtbW9kZS9zaGFyZGluZ3NwaGVyZS1tb2RlLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL21vZGUvbWV0YWRhdGEvTWV0YURhdGFDb250ZXh0cy5qYXZh) | `65.00% <0.00%> (-3.43%)` | :arrow_down: |
| [...e/mode/repository/cluster/etcd/EtcdRepository.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtbW9kZS9zaGFyZGluZ3NwaGVyZS1tb2RlLXR5cGUvc2hhcmRpbmdzcGhlcmUtY2x1c3Rlci1tb2RlL3NoYXJkaW5nc3BoZXJlLWNsdXN0ZXItbW9kZS1yZXBvc2l0b3J5L3NoYXJkaW5nc3BoZXJlLWNsdXN0ZXItbW9kZS1yZXBvc2l0b3J5LXByb3ZpZGVyL3NoYXJkaW5nc3BoZXJlLWNsdXN0ZXItbW9kZS1yZXBvc2l0b3J5LWV0Y2Qvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL21vZGUvcmVwb3NpdG9yeS9jbHVzdGVyL2V0Y2QvRXRjZFJlcG9zaXRvcnkuamF2YQ==) | `79.66% <0.00%> (-2.80%)` | :arrow_down: |
| ... and [142 more](https://codecov.io/gh/apache/shardingsphere/pull/12621/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/12621?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/12621?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 [3292814...8b77464](https://codecov.io/gh/apache/shardingsphere/pull/12621?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
[GitHub] [shardingsphere] codecov-commenter commented on pull request #12621: modify decoding plugin to mppdb_decoding and repair actual table name
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #12621:
URL: https://github.com/apache/shardingsphere/pull/12621#issuecomment-924983076
# [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12621?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 [#12621](https://codecov.io/gh/apache/shardingsphere/pull/12621?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (924f8b9) into [master](https://codecov.io/gh/apache/shardingsphere/commit/6ce616322361d187ffddd1685618bd17fc35f694?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (6ce6163) will **decrease** coverage by `0.16%`.
> The diff coverage is `0.00%`.
[](https://codecov.io/gh/apache/shardingsphere/pull/12621?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #12621 +/- ##
============================================
- Coverage 63.43% 63.26% -0.17%
- Complexity 1306 1328 +22
============================================
Files 2411 2439 +28
Lines 36764 37072 +308
Branches 6379 6407 +28
============================================
+ Hits 23322 23455 +133
- Misses 11552 11726 +174
- Partials 1890 1891 +1
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/12621?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...caling/opengauss/component/OpenGaussWalDumper.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc2NhbGluZy1vcGVuZ2F1c3Mvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvb3BlbmdhdXNzL2NvbXBvbmVudC9PcGVuR2F1c3NXYWxEdW1wZXIuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...component/checker/OpenGaussDataSourcePreparer.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc2NhbGluZy1vcGVuZ2F1c3Mvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvb3BlbmdhdXNzL2NvbXBvbmVudC9jaGVja2VyL09wZW5HYXVzc0RhdGFTb3VyY2VQcmVwYXJlci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...ing/opengauss/wal/OpenGaussLogicalReplication.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc2NhbGluZy1vcGVuZ2F1c3Mvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvb3BlbmdhdXNzL3dhbC9PcGVuR2F1c3NMb2dpY2FsUmVwbGljYXRpb24uamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...ere/proxy/frontend/executor/UserExecutorGroup.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktZnJvbnRlbmQvc2hhcmRpbmdzcGhlcmUtcHJveHktZnJvbnRlbmQtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvZnJvbnRlbmQvZXhlY3V0b3IvVXNlckV4ZWN1dG9yR3JvdXAuamF2YQ==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [...sphere/scaling/core/job/schedule/JobScheduler.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9qb2Ivc2NoZWR1bGUvSm9iU2NoZWR1bGVyLmphdmE=) | `21.05% <0.00%> (-26.32%)` | :arrow_down: |
| [...gsphere/mode/metadata/MetaDataContextsBuilder.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtbW9kZS9zaGFyZGluZ3NwaGVyZS1tb2RlLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL21vZGUvbWV0YWRhdGEvTWV0YURhdGFDb250ZXh0c0J1aWxkZXIuamF2YQ==) | `70.00% <0.00%> (-25.46%)` | :arrow_down: |
| [...re/scaling/core/executor/engine/ExecuteEngine.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9leGVjdXRvci9lbmdpbmUvRXhlY3V0ZUVuZ2luZS5qYXZh) | `88.88% <0.00%> (-11.12%)` | :arrow_down: |
| [.../apache/shardingsphere/shadow/rule/ShadowRule.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtZmVhdHVyZXMvc2hhcmRpbmdzcGhlcmUtc2hhZG93L3NoYXJkaW5nc3BoZXJlLXNoYWRvdy1jb3JlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9zaGFkb3cvcnVsZS9TaGFkb3dSdWxlLmphdmE=) | `70.27% <0.00%> (-6.93%)` | :arrow_down: |
| [...scaling/core/job/task/inventory/InventoryTask.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9qb2IvdGFzay9pbnZlbnRvcnkvSW52ZW50b3J5VGFzay5qYXZh) | `68.88% <0.00%> (-6.67%)` | :arrow_down: |
| [...ore/statement/ShardingSpherePreparedStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12621/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-c2hhcmRpbmdzcGhlcmUtamRiYy9zaGFyZGluZ3NwaGVyZS1qZGJjLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL2RyaXZlci9qZGJjL2NvcmUvc3RhdGVtZW50L1NoYXJkaW5nU3BoZXJlUHJlcGFyZWRTdGF0ZW1lbnQuamF2YQ==) | `75.00% <0.00%> (-5.59%)` | :arrow_down: |
| ... and [141 more](https://codecov.io/gh/apache/shardingsphere/pull/12621/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/12621?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/12621?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 [3292814...924f8b9](https://codecov.io/gh/apache/shardingsphere/pull/12621?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
[GitHub] [shardingsphere] sandynz merged pull request #12621: modify decoding plugin to mppdb_decoding and repair actual table name
Posted by GitBox <gi...@apache.org>.
sandynz merged pull request #12621:
URL: https://github.com/apache/shardingsphere/pull/12621
--
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