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

[GitHub] [shardingsphere] RaigorJiang commented on issue #16534: [Question] How to write sharding rule with prefix and sharding-column

RaigorJiang commented on issue #16534:
URL: https://github.com/apache/shardingsphere/issues/16534#issuecomment-1085515931


   Hi @Jun10ng 
   1. You could specify the sharding column by :
   ```
   spring.shardingsphere.rules.sharding.tables.gs_job_log.table-strategy.standard.sharding-column=job_group
   ```
   2. For your  `actual-data-nodes`,  do you want `db.job_log_0000000$->{0..9}, db.job_log_000000$->{10..99}, db.job_log_00000100`?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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