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/14 10:17:42 UTC

[GitHub] [shardingsphere] wei442 edited a comment on issue #5596: Can not update sharding key,

wei442 edited a comment on issue #5596:
URL: https://github.com/apache/shardingsphere/issues/5596#issuecomment-628520596


   error
   Cause: org.apache.shardingsphere.core.exception.ShardingException: Can not update sharding key, logic table: [user_account], column: [org.apache.shardingsphere.sql.parser.sql.segment.dml.assignment.AssignmentSegment@dc9eb6e].
   This problem occurs when updating data
   
   config
   spring.shardingsphere.sharding.tables.user_account.actual-data-nodes=master.user_account_$->{0..2}
   spring.shardingsphere.sharding.tables.user_account.table-strategy.inline.sharding-column=user_id
   spring.shardingsphere.sharding.tables.user_account.table-strategy.inline.algorithm-expression=user_account_$->{user_id % 3}
   
   
   How to deal with it ?


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