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 2021/07/22 06:23:29 UTC

[GitHub] [shardingsphere] Yule-Momoko opened a new issue #11449: Multiple-Table Delete report error

Yule-Momoko opened a new issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449


   ## 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/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 anymore 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?
   5.0.0-beta
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   ### Expected behavior
   	DELETE FROM  FI_SALES_COST_DTL dtl  where 
   	
   	DELETE ta
   FROM
   	FI_TableA ta
   	JOIN FI_TableB tb ON tb.id= ta.id
   WHERE
   	ta.code = '1'
   ### Actual behavior
   Cause: org.apache.shardingsphere.infra.exception.ShardingSphereException: Cannot support Multiple-Table for '[FI_TableA,FI_TableB, ta]'.
   ### Reason analyze (If you can)
   Cause: org.apache.shardingsphere.infra.exception.ShardingSphereException: Cannot support Multiple-Table for '[FI_TableA,FI_TableB, ta]'.
   ### 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 to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] terrymanu commented on issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449#issuecomment-884692886


   Hi, The exception thrown with `Cannot support Multiple-Table for '[FI_TableA,FI_TableB, ta]'.` is expected exception.
   Delete multiple table is unnecessary in sharding databases, the priority is pretty low.
   We have opened the issue before, but nobody collect it. 
   So I just close the issue, if any idea want to contribute, please give the design doc and the pull requests.
   Thank you.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Yule-Momoko commented on issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
Yule-Momoko commented on issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449#issuecomment-884697106


   @terrymanu 


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Yule-Momoko commented on issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
Yule-Momoko commented on issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449#issuecomment-884695070


   Why can't this be solved?This deletion is my normal operation, but not what I expected


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Yule-Momoko commented on issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
Yule-Momoko commented on issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449#issuecomment-884683243


   	DELETE ta
   FROM
   	FI_TableA ta
   	JOIN FI_TableB tb ON tb.id= ta.id
   WHERE
   	ta.code = '1'


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Yule-Momoko commented on issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
Yule-Momoko commented on issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449#issuecomment-884695446


   My routing policy is  Hint


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] terrymanu closed issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449


   


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Yule-Momoko removed a comment on issue #11449: Multiple-Table Delete report error

Posted by GitBox <gi...@apache.org>.
Yule-Momoko removed a comment on issue #11449:
URL: https://github.com/apache/shardingsphere/issues/11449#issuecomment-884683243


   	DELETE ta
   FROM
   	FI_TableA ta
   	JOIN FI_TableB tb ON tb.id= ta.id
   WHERE
   	ta.code = '1'


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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