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/01/29 05:18:57 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #9168: [RDL] Support create/alter multiple bindTable groups

tristaZero commented on issue #9168:
URL: https://github.com/apache/shardingsphere/issues/9168#issuecomment-769581466


   Hi, @jingshanglu ,
   Thank for feedback.
   
   here are two ways to figure out this issue,
   ```sql
   // Add rule id for each bind rule
   
   CREATE SHARDING RULE (
   ...
   binding_table bt1 (t_order t_item)
   binding_table bt2 (t1  t2  t3)
   ) 
   
   ALTER SHARDING RULE (
   ...
   binding_table bt1 (t_order t_item)
   )
   
   // Keep current handling
   CREATE SHARDING RULE (
   ...
   binding_tables(t_order t_item, t1  t2  t3)
   ) 
   
   ALTER SHARDING RULE (
   ...
   binding_tables(t_order t_item)
   )
   ```
   
   What do you think?
   


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