yumumu1988 opened a new issue, #18181:
URL: https://github.com/apache/shardingsphere/issues/18181
version of ShardingSphere:5.1.1
project :ShardingSphere-JDBC
Expected behavior:binding table configuration should be succeed and starting
the application.
Actual behavior: show such error "Invalid binding table configuration in
ShardingRuleConfiguration." and application shutdowns.
Reason analyze: dataNodePrefix and shardingColumn are the same,
isValidActualTableName returns false.
configurations:
xxx.sharding.sharding-algorithms.ship-table-inline.props.algorithm-expression=ship_$->{ship_id
% 2 + 1}
xxx.sharding.sharding-algorithms.ship_profile-table-inline.props.algorithm-expression=ship_profile_$->{ship_id
% 2 + 1}
xxx..binding-tables[0]=ship,ship_profile
getAlgorithmExpression returns "_$->{id % 2 + 1}" and "_$->{ % 2 + 1}".
--
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]