You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Steven Talbot (Jira)" <ji...@apache.org> on 2021/05/24 22:17:00 UTC

[jira] [Created] (CALCITE-4620) join on non-reducible CASE causes AssertionError in RelToSqlConverter

Steven Talbot created CALCITE-4620:
--------------------------------------

             Summary: join on non-reducible CASE causes AssertionError in RelToSqlConverter
                 Key: CALCITE-4620
                 URL: https://issues.apache.org/jira/browse/CALCITE-4620
             Project: Calcite
          Issue Type: Bug
            Reporter: Steven Talbot


Basically  CALCITE-4610  but this time with a CASE WHEN. 

I can provide a repro test if needed, but any join with a condition like 
{code:java}
CASE WHEN a = 'some_literal' THEN true ELSE c = 'some_other_literal' END{code}
The CASE travels through the pipeline, and the RelToSqlConverter crashes on it in convertConditionToSqlNode.



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