lvqibin123 commented on issue #33596:
URL:
https://github.com/apache/shardingsphere/issues/33596#issuecomment-2466030753
my code:
`
app_user:
actualDataNodes: ds${0..1}.app_user_${202401..202412}
# 配置分表策略
tableStrategy:
standard:
shardingColumn: updatetime
shardingAlgorithmName: app_user_table_inline
keyGenerateStrategy:
column: id
keyGeneratorName: snowflake
`
`
app_user_table_inline:
type: INTERVAL
props:
datetime-pattern: 'yyyy-MM-dd HH:mm:ss'
datetime-lower: '2024-01-01 00:00:00'
datetime-upper: '2025-01-01 00:00:00'
sharding-suffix-pattern: 'yyyyMM'
datetime-interval-amount: 1
datetime-interval-unit: 'MONTHS'
`
--
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]