You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/01/21 03:02:21 UTC

[GitHub] jmbkeyes opened a new issue #1786: [bug] updating serveral tables' field values in one update statement

jmbkeyes opened a new issue #1786: [bug] updating serveral tables' field values in one update statement
URL: https://github.com/apache/incubator-shardingsphere/issues/1786
 
 
   ## Bug Report
   There is a bug when updating serveral tables' field values.
   
   UPDATE group_booking gb 
   INNER JOIN group_booking_instance gbi ON gbi.groupBookingId = gb.id and gbi.`status` = 1  
   INNER JOIN group_booking_instance_detail gbd ON gbd.groupBookingInstanceId = gbi.id 
   SET gb.`status` = 2,gbi.`status` = 3,gbd.`status` = 4 
   WHERE gb.endTs < now() AND gb. STATUS = 3
   
   **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/sharding-sphere/sharding-sphere/issues).
   - Read documentation: [ShardingSphere Doc](http://shardingsphere.io/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?
   3.1.0
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   Sharding-JDBC
   ### Expected behavior
   the sql should be successful.
   ### Actual behavior
   NullPoinerException, but deep into the actual exception is
   io.shardingsphere.core.parsing.parser.exception.SQLParsingUnsupportedException: Cannot support Multiple-Table.
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services