shardingsphere
shardingsphere copied to clipboard
can not find owner from table when select from a,b with where condition
Bug Report
This type SQL select from (subquery)a, (subquery)b where a.id=b.aid will report the error below. It should work as join ... on. Will this be fixed? Thx

Which version of ShardingSphere did you use?
master
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
proxy
Expected behavior
Actual behavior
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).
It's doesn't support now, and no plan for enhancement. refer: https://shardingsphere.apache.org/document/current/cn/features/sharding/use-norms/sql/#%E4%B8%8D%E6%94%AF%E6%8C%81%E7%9A%84sql
@kimmking sorry I don't figure out which one belongs to my case in your ref.
Besides how about this one select from (subquery)a join (subquery)b on a.id = b.id where a.id=?. Report the same error. will this be fixed?