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

Steven Talbot updated CALCITE-4620:
-----------------------------------
    Description: 
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 in 
that same test
{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.

  was:
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.


> 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
>            Priority: Major
>
> 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 in 
> that same test
> {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)

Reply via email to