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)

Reply via email to