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/11/08 03:32:07 UTC

[GitHub] [shardingsphere] LiYuanHaooo opened a new issue, #22001: java.lang.IllegalArgumentException: Invalid binding table configuration in ShardingRuleConfiguration

LiYuanHaooo opened a new issue, #22001:
URL: https://github.com/apache/shardingsphere/issues/22001

   sharding-proxy 5.2.0
   
   config-sharding.yaml
   ```shell
   rules:
   - !SHARDING
     tables:
      ...
   
     bindingTables:
       - tmdb_trademark,tmdb_goods
       - tmdb_trademark,tmdb_trademark_owner,tmdb_owner
   ```
   
   exception when starting sharding-proxy
   ![image](https://user-images.githubusercontent.com/26320670/200468764-b31f45b0-5dce-4157-8d66-7e042151d3db.png)
   


-- 
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] sandynz commented on issue #22001: java.lang.IllegalArgumentException: Invalid binding table configuration in ShardingRuleConfiguration

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #22001:
URL: https://github.com/apache/shardingsphere/issues/22001#issuecomment-1342734274

   Hi @LiYuanHaooo , I had a look at `ShardingRule.isValidBindingTableConfiguration`, if it return `false`, then `Invalid binding table configuration in ShardingRuleConfiguration` will be thrown.
   There're much cases will cause `false` returning.
   
   Since the `config-sharding.yaml` is not completed, could you debug to check what's wrong in the configuration?
   


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