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/06/07 07:18:41 UTC

[GitHub] [shardingsphere] tristaZero opened a new issue #10697: Create `DropTableStatementFederateRefresher`

tristaZero opened a new issue #10697:
URL: https://github.com/apache/shardingsphere/issues/10697


   Hi community,
   
   This issue needs more effort than good-first-issue. Hope you can enjoy it. :)
   
   ### Target 
   - Create a class named `DropTableStatementFederateRefresher` which is to renew `FederateSchemaMetadata` when users execute `drop table xxx` SQL. (It is simple to figure out that once the table structure changes, the metadata needs to be refreshed accordingly)
   - Add a unit test for your change
   
   ### How
   - Create a class named `DropTableStatementFederateRefresher` implementing `FederateRefresher<DropTableStatement>`
   Here are some tips,
   1. Please refer to `CreateTableStatementFederateRefresher` and `DropTableStatementSchemaRefresher`
   2. Add a `remove` function for `FederateSchemaMetadata` like `renew()` of it.
   - Add this one to `MetadataRefresherFactory`
   - Add a unit test similar to `DropTableStatementSchemaRefresherTest` and #10695
   


-- 
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.

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



[GitHub] [shardingsphere] xiaoshen11 commented on issue #10697: Create `DropTableStatementFederateRefresher`

Posted by GitBox <gi...@apache.org>.
xiaoshen11 commented on issue #10697:
URL: https://github.com/apache/shardingsphere/issues/10697#issuecomment-855673078


   Please assign to me.


-- 
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.

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



[GitHub] [shardingsphere] xiaoshen11 commented on issue #10697: Create `DropTableStatementFederateRefresher`

Posted by GitBox <gi...@apache.org>.
xiaoshen11 commented on issue #10697:
URL: https://github.com/apache/shardingsphere/issues/10697#issuecomment-861578089


   @tristaZero my pr checks fail,details as follows,I don't konw how to solve it,please help me 
   
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  05:33 min
   [INFO] Finished at: 2021-06-14T02:57:45Z
   [INFO] ------------------------------------------------------------------------
   Error:  Failed to execute goal on project shardingsphere-infra-optimize: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-infra-optimize:jar:5.0.0-RC1-SNAPSHOT: Failed to collect dependencies at org.apache.calcite:calcite-core:jar:1.26.0: Failed to read artifact descriptor for org.apache.calcite:calcite-core:jar:1.26.0: Could not transfer artifact org.apache.calcite:calcite-core:pom:1.26.0 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/calcite/calcite-core/1.26.0/calcite-core-1.26.0.pom: Connection reset -> [Help 1]
   Error:  
   Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
   Error:  Re-run Maven using the -X switch to enable full debug logging.
   Error:  
   Error:  For more information about the errors and possible solutions, please read the following articles:
   Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
   Error:  
   Error:  After correcting the problems, you can resume the build with the command
   Error:    mvn <args> -rf :shardingsphere-infra-optimize
   Error: Process completed with exit code 1.


-- 
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.

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



[GitHub] [shardingsphere] yinyichao commented on issue #10697: Create `DropTableStatementFederateRefresher`

Posted by GitBox <gi...@apache.org>.
yinyichao commented on issue #10697:
URL: https://github.com/apache/shardingsphere/issues/10697#issuecomment-855770677


   Please assign to me.


-- 
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.

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



[GitHub] [shardingsphere] kimmking commented on issue #10697: Create `DropTableStatementFederateRefresher`

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #10697:
URL: https://github.com/apache/shardingsphere/issues/10697#issuecomment-855676748


   @xiaoshen11 assigned


-- 
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.

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



[GitHub] [shardingsphere] tristaZero closed issue #10697: Create `DropTableStatementFederateRefresher`

Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #10697:
URL: https://github.com/apache/shardingsphere/issues/10697


   


-- 
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.

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