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: [email protected]
