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/10/12 12:01:47 UTC

[GitHub] [shardingsphere] sabz90 commented on issue #7703: Can not update sharding key, logic table: [**], column: [**]

sabz90 commented on issue #7703:
URL: https://github.com/apache/shardingsphere/issues/7703#issuecomment-707077359


   @tristaZero @kimmking The query does not change the Sharding key of the table. If that value does not appear in SET statement, then the query will end up being executed on all shards which is not optimal. Another option is putting the sharding column in the where clause but that gets complicated as Hibernate does not allow including columns in the where clause.
   
   maybe make this validation optional, based on some 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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org