You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2021/05/28 18:53:00 UTC
[jira] [Resolved] (CALCITE-4620) Join on CASE causes AssertionError
in RelToSqlConverter
[ https://issues.apache.org/jira/browse/CALCITE-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-4620.
----------------------------------
Resolution: Fixed
Fixed in [af5444ff|https://github.com/apache/calcite/commit/af5444ffdfd9e836b052ee58abec9430d55d4139].
> Join on CASE causes AssertionError in RelToSqlConverter
> -------------------------------------------------------
>
> Key: CALCITE-4620
> URL: https://issues.apache.org/jira/browse/CALCITE-4620
> Project: Calcite
> Issue Type: Bug
> Components: jdbc-adapter
> Affects Versions: 1.26.0
> Reporter: Steven Talbot
> Assignee: Julian Hyde
> Priority: Major
> Fix For: 1.27.0
>
>
> 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)