You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/06/10 02:32:40 UTC
[GitHub] [shardingsphere] strongduanmu commented on issue #10735: Using IntervalShardingAlgorithm with config `datetime-interval-unit` greater than 'days' occur error when insert
strongduanmu commented on issue #10735:
URL: https://github.com/apache/shardingsphere/issues/10735#issuecomment-858232476
@jianliu Thank you very much for your feedback. Using `IntervalShardingAlgorithm` requires us to configure the `datetime-interval-unit` and `datetime-pattern` parameters to be consistent. If `datetime-interval-unit` is set to `weeks`, then `datetime-pattern` needs to be set to the corresponding format, such as `yyyyww`. You can modify your `datetime-pattern` parameter to see if the problem is solved.
--
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:
users@infra.apache.org