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 2021/10/14 09:14:01 UTC

[GitHub] [shardingsphere] sandynz commented on issue #5806: ShardingUpdateStatementValidator requires that the value of the sharding key in set-statement must be consistent with the where-statement

sandynz commented on issue #5806:
URL: https://github.com/apache/shardingsphere/issues/5806#issuecomment-943168856


   Looks master branch has the same logic:
   ```
   throw new ShardingSphereException("Can not update sharding key, logic table: [%s], column: [%s].", tableName, shardingColumn);
   ```
   
   @LightShine , could we just shard by `user_id`?
   Since `user_phone` is sharding column, if it's changeable, it'll cause data record redistribution.
   


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