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 2020/05/27 03:23:04 UTC

[GitHub] [shardingsphere] wang7241 removed a comment on issue #5632: when insert sql have "role" column,sharding-jdbc can not route divided table

wang7241 removed a comment on issue #5632:
URL: https://github.com/apache/shardingsphere/issues/5632#issuecomment-633767495


   > Hi @wang7241 , I test this problem with `4.1.0` version, It's OK.
   > 
   > Can you create a github project, and submit test code which can reproduce this problem, Thanks.
   
   Now I use 4.1.0 to test my problem,there is a exception when I run my project,the exception as follow:
   ActualDataNodes must be configured if want to shard tables for logicTable [ku_challenge_rec]. it reminds me to configured ActualDataNodes,but my table "ku_challenge_rec" according to field "school_id" to dynamic devide tables. what should I do,please give me a help.On the other hand,when I used 4.0.0-RC1 there is no such exception.My springboot properties as follow:
   spring.shardingsphere.sharding.tables.ku_challenge_rec.table-strategy.inline.sharding-column = school_id
   spring.shardingsphere.sharding.tables.ku_challenge_rec.table-strategy.inline.algorithm-expression = ku_challenge_rec_$->{school_id}


----------------------------------------------------------------
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:
users@infra.apache.org