You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2021/05/28 10:04:00 UTC

[jira] [Updated] (CALCITE-1640) SqlImplementor (RelToSql) doesn't handle join cond same as filter

     [ https://issues.apache.org/jira/browse/CALCITE-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis updated CALCITE-1640:
-----------------------------------------
    Fix Version/s: 1.22.0

> SqlImplementor (RelToSql) doesn't handle join cond same as filter
> -----------------------------------------------------------------
>
>                 Key: CALCITE-1640
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1640
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Jess Balint
>            Priority: Minor
>             Fix For: 1.22.0
>
>
> If I have a join condition with an arbitrary expression, e.g.
> {code}
>   LogicalJoin(condition=[AND(=($0, $7), NOT(LIKE($2, ||('%', 'xyz', '%'))))], joinType=[inner])
> {code}
> I get an AssertionError in {{convertConditionToSqlNode()}}. This method should pass the rel node to {{toSql()}} so it can't be handled the same is it would be in a filter over the join.



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