huangconghe opened a new issue, #20239:
URL: https://github.com/apache/shardingsphere/issues/20239
my yml:
rules:
sharding:
tables:
t_order:
actual-data-nodes: ds$->{0..1}.t_order_$->{0..1}
database-strategy:
standard:
sharding-column: user_id
sharding-algorithm-name: database-inline
table-strategy:
standard:
sharding-column: order_id
sharding-algorithm-name: table-inline
sharding-algorithms:
table-inline:
type: INLINE
props:
algorithm-expression: t_order_$->{order_id % 2}
database-inline:
type: HASH_MOD
props:
sharding-count: 2
# type: CLASS_BASED #自定义type
# props:
# strategy: STANDARD #标准分片类型
# algorithmClassName:
com.kpmg.smart.ematching.sharding.CustomDBPreciseShardingAlgorithm
start springboot report an error:
Error creating bean with name 'database-inline': Initialization of bean
failed; nested exception is java.lang.NumberFormatException: null
I didn't find the problem, please help me
--
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]