kushalhalder opened a new issue #10912:
URL: https://github.com/apache/shardingsphere/issues/10912


   Factory method 'shardingDataSource' threw exception; nested exception is 
java.lang.NullPointerException
   If default database strategy has been defined with range algorithm, it 
throws the above error. 
   
   If I include precise with range, then only precise is picked up. 
   
   What is wrong here?
   ```
   
spring.shardingsphere.sharding.default-database-strategy.standard.sharding-column=keyspaceID
   spring.shardingsphere.sharding.default-table-strategy.none=
   
spring.shardingsphere.sharding.default-database-strategy.standard.range-algorithm-class-name=group.shardingsphere.algorithm.RangeShardingDatabaseAlgorithm
   
spring.shardingsphere.sharding.default-database-strategy.standard.precise-algorithm-class-name=group.shardingsphere.algorithm.PreciseModuloShardingDatabaseAlgorithm
   ```
   I do not need Precise, just Range would do.


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