You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jin Xing (Jira)" <ji...@apache.org> on 2019/12/10 11:34:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16992463#comment-16992463 ]
Jin Xing commented on CALCITE-1640:
-----------------------------------
Resolved and duplicated to CALCITE-3207.
> 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
>
> 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)