tristaZero commented on issue #8514:
URL: https://github.com/apache/shardingsphere/issues/8514#issuecomment-741590299
Hi @suikenungleung ,
> According to application-sharding-replica-query.properties Delete
redundant configuration,The same error after modification.
That's a misunderstanding. What I want you to try is to use the following
items to add `sharding algorithm` configurations.
```xml
spring.shardingsphere.rules.sharding.sharding-algorithms.database-inline.type=INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.database-inline.props.algorithm-expression=ds-$->{id
% 2}
```
----------------------------------------------------------------
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]