RaigorJiang opened a new issue, #22844:
URL: https://github.com/apache/shardingsphere/issues/22844

   Hi community,
   
   Previously, we had added the `IF EXISTS` option to the `DROP` statement in 
DistSQL. (#15623)
   Correspondingly, we need to add the `IF NOT EXISTS` option to the `CREATE` 
statement, just like `CREATE TABLE [IF NOT EXISTS] tbl_name`.
   
   E.g
   - `CREATE SHARDING TABLE RULE IF NOT EXISTS xxx`
   - `CREATE ENCRYPT RULE IF NOT EXISTS xxx`
   
   ### Tasks
   - [ ] REGISTER STORAGE UNIT
   - [ ] CREATE SHARDING TABLE RULE
   - [ ] CREATE SHARDING TABLE REFERENCE RULE
   - [ ] CREATE BROADCAST TABLE RULE
   - [ ] CREATE DEFAULT SHARDING [DATABASE | TABLE] STRATEGY
   - [ ] CREATE ENCRYPT RULE
   - [ ] CREATE DB_DISCOVERY RULE
   - [ ] CREATE READWRITE_SPLITTING RULE
   - [ ] CREATE SHADOW RULE
   - [ ] CREATE DEFAULT SHADOW ALGORITHM


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to