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/01/05 11:01:52 UTC

[GitHub] [shardingsphere] tristaZero opened a new issue #8896: Column index out of range exception when Proxy executes SQL

tristaZero opened a new issue #8896:
URL: https://github.com/apache/shardingsphere/issues/8896


   ### Product
   Sharding Proxy, master branch
   
   ### SQL
   > select * from t_order_item, t_order where t_order_item.order_id = t_order.order_id;
   
   ### Rule
   t_order_item and t_order are binding tables.
   
   ### Exception
   ```
   ERROR:
   Column index out of range.
   ```
   
   ### Reason
   - Wrong projection seize
   > ((SelectStatementContext) executionContext.getSqlStatementContext()).getProjectionsContext().getExpandProjections().size()
   
   - Wrong result of `createProjectionsContext()` in `ProjectionsContextEngine`


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss closed issue #8896: Column index out of range exception when Proxy executes SQL

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


   


----------------------------------------------------------------
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:
users@infra.apache.org