wzq1022 commented on issue #31587:
URL:
https://github.com/apache/shardingsphere/issues/31587#issuecomment-2160737491
> 换低版本没问题
>
> ```
> implementation 'org.apache.shardingsphere:shardingsphere-jdbc-core:5.3.2'
> ```
>
> ```yaml
> rules:
> - !SHARDING
> tables:
> tb_sample:
> actualDataNodes: ds_1.tb_sample_$->{2024..2200}0$->{1..9}
> tableStrategy:
> standard:
> shardingColumn: date1
> shardingAlgorithmName: time-sharding-algorithm
> shardingAlgorithms:
> time-sharding-algorithm:
> type: CLASS_BASED
> props:
> strategy: STANDARD
> algorithmClassName: io.arukas.algorithm.TimeShardingAlgorithm
> props:
> sql-show: true
> ```
@ncc0706
5.3.2, java api, it works, thanks
--
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]