DengQin commented on issue #33339:
URL:
https://github.com/apache/shardingsphere/issues/33339#issuecomment-2426647651
config:
# 分片配置
- !SHARDING
tables:
t_benefit_distribute_record:
actualDataNodes: ds-marketing.t_benefit_distribute_record_$->{0..15}
tableStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: t_benefit_distribute_record_inline
t_benefit_distribute_record_inline:
type: INLINE
props:
algorithm-expression: t_benefit_distribute_record_$->{user_id % 16}
--
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]