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:
[email protected]


Reply via email to