[
https://issues.apache.org/jira/browse/CALCITE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16995278#comment-16995278
]
小黑一点都不黑 commented on CALCITE-3575:
----------------------------------
[~Chunwei Lei], I will to study the rules, Thanks.
> 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
> Fix For: 1.22.0
>
> Attachments: image-2019-12-06-14-30-26-738.png
>
> Time Spent: 0.5h
> 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)