lvqibin123 opened a new issue, #33596:
URL: https://github.com/apache/shardingsphere/issues/33596
## Question
how to use SHARDING ALGORITHM Type: INTERVAL ?
Do you have any reference examples!
my code:
` app_user:
actualDataNodes:
ds${0..1}.P=app_user_;SP=yyyyMM;DIA=1;DIU=Months;DL=202401;DU=202412
# 配置分表策略
tableStrategy:
standard:
shardingColumn: updatetime #type :DATETIME
shardingAlgorithmName: app_user_table_inline
keyGenerateStrategy:
column: id
keyGeneratorName: snowflake`
` app_user_table_inline:
type: INTERVAL
props:
datetime-pattern: yyyyMM
datetime-lower: 202401
datetime-upper: 202412
sharding-suffix-pattern: yyyyMM
datetime-interval-amount: 1
datetime-interval-unit: DAYS`
but is not work !
--
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]