[ 
https://issues.apache.org/jira/browse/CALCITE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993309#comment-16993309
 ] 

Chunwei Lei commented on CALCITE-3575:
--------------------------------------

I opened a pull request: [https://github.com/apache/calcite/pull/1646].

> IndexOutOfBoundsException when converting sql to rel
> ----------------------------------------------------
>
>                 Key: CALCITE-3575
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3575
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.18.0, 1.19.0, 1.20.0, 1.21.0
>            Reporter: 小黑一点都不黑
>            Assignee: Chunwei Lei
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: image-2019-12-06-14-30-26-738.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the case,  a join statement with equal condition and left is expression 
> instead of column, will fire the bug. the reason is pushDownJoinConditions 
> method does't add left project node to SqlToRelConverter.leaves。
> My english is poor, did I make myself clear? 
> !image-2019-12-06-14-30-26-738.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to