jameszhongsq commented on issue #6657:
URL: https://github.com/apache/shardingsphere/issues/6657#issuecomment-669751696


   去掉:
   
spring.shardingsphere.sharding.tables.course.table-strategy.inline.sharding-column=create_time
   
spring.shardingsphere.sharding.tables.course.table-strategy.inline.algorithm-expression=course_${202001..202008}
   下面的配置:database-strategy改为table-strategy就ok了。
   
spring.shardingsphere.sharding.tables.course.database-strategy.standard.sharding-column=create_time
   
spring.shardingsphere.sharding.tables.course.database-strategy.standard.precise-algorithm-class-name=com.shardingjdbcdemo.config.CourseTableShardingAlgorithm
   
spring.shardingsphere.sharding.tables.course.database-strategy.standard.range-algorithm-class-name=com.shardingjdbcdemo.config.CourseTableShardingAlgorithm
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to