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 2022/06/05 09:48:33 UTC
[GitHub] [shardingsphere] yumumu1988 opened a new issue, #18181: show "Invalid binding table configuration", when dataNodePrefix and shardingColumn are the same
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] strongduanmu closed issue #18181: show "Invalid binding table configuration", when dataNodePrefix and shardingColumn are the same
Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #18181: show "Invalid binding table configuration", when dataNodePrefix and shardingColumn are the same
URL: https://github.com/apache/shardingsphere/issues/18181
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] yumumu1988 commented on issue #18181: show "Invalid binding table configuration", when dataNodePrefix and shardingColumn are the same
Posted by GitBox <gi...@apache.org>.
yumumu1988 commented on issue #18181:
URL: https://github.com/apache/shardingsphere/issues/18181#issuecomment-1146775263
have pushed an easy fix pr.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org