You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Jess Balint (JIRA)" <ji...@apache.org> on 2017/02/16 22:07:42 UTC

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

Jess Balint created CALCITE-1640:
------------------------------------

             Summary: 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
            Assignee: Julian Hyde
            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
(v6.3.15#6346)