nevereverever opened a new issue #4862: using "" will route to all datanode
URL: https://github.com/apache/incubator-shardingsphere/issues/4862
 
 
   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub 
issues](https://github.com/apache/incubator-shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response **more than 7 days** and we cannot reproduce it on current 
information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   4.0.1
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   sharding-proxy
   
   ### description
   insert into table use "" will route to all datanode.
   
   such as ,I have a table named tborder,sharding by order_id using hash.
   actual datasource: ds_${0..1}
   actual tables: tborder_${0..4}
   
   I execute this sql:
   ```sql
   insert into tborder(order_id,order_account) 
values("ef0f34fd5b9296f102ffdbd47",10000);
   ```
   
   it will route to all datanode:
   ```sql
   INSERT INTO `tborder`(order_id,order_account) VALUES 
("ef0f34fd5b9296f102ffdbd47", 10000)
   > Affected rows: 10
   > 时间: 0.055s
   ```
   
   Is it a bug?
   

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


With regards,
Apache Git Services

Reply via email to