RafaelGuo commented on issue #6948:
URL: https://github.com/apache/shardingsphere/issues/6948#issuecomment-678105104


   > @RafaelGuo hi, I use your config ,use you code, use the same res_id,data 
inserted to the same database.
   > 
![Xnip2020-08-20_20-23-33](https://user-images.githubusercontent.com/33389378/90769674-3160a800-e323-11ea-88bd-0b4708532e8d.jpg)
   
   I find the reason why it is not work, because my configuration is wrong.
   my config is: 
spring.shardingsphere.rules.sharding.tables.sns_resource_cache.database-strategy.standard.sharding-column=res_id.
   It should be 
spring.shardingsphere.sharding.tables.sns_resource_essay.database-strategy.standard.sharding-column=res_id,
   
![image](https://user-images.githubusercontent.com/28351792/90867514-13994e80-e3c8-11ea-9a8d-3c78f713097d.png)
   


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