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/03/01 09:58:04 UTC

[GitHub] [shardingsphere] jingshanglu commented on issue #9494: When I try to create a sharding rule or datasource, I encountered this........ the corresponding version is 5.0 alpha

jingshanglu commented on issue #9494:
URL: https://github.com/apache/shardingsphere/issues/9494#issuecomment-787820170


   @bestksl plz refer 
   ```
   CREATE SHARDING RULE (
   t_order [resource(ds0, ds1)] [order_id HASH_MOD("sharding-count"=4)] [generated_key another_id snowflake("worker-id"=123)],
   t_item item_id mod("sharding-count"=2)
   [binding_table(t_order t_item) ...]
   [default_table_strategy HASH_MOD("sharding-count"=4)]
   [broadcast_tables(t_order, t_item)]
   )
   ```


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