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

Stanilovsky Evgeny updated IGNITE-14617:
----------------------------------------
    Description: 
Probably we need to support such kind of expressions:

{noformat}
SELECT CASE WHEN 1 THEN 13 ELSE 12 END;
{noformat}

_WHEN 1=1_ - works correctly in such case. Additional info was given in [1]

[1] https://issues.apache.org/jira/browse/IGNITE-14612


  was:
Probably we need to support such kind of expressions:

{noformat}
SELECT CASE WHEN 1 THEN 13 ELSE 12 END;
{noformat}

_WHEN 1=1_ - works correctly in such case.



> Calcite. Add opportunity to use NUMERIC in WHEN syntax.
> -------------------------------------------------------
>
>                 Key: IGNITE-14617
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14617
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Stanilovsky Evgeny
>            Priority: Major
>              Labels: calcite
>
> Probably we need to support such kind of expressions:
> {noformat}
> SELECT CASE WHEN 1 THEN 13 ELSE 12 END;
> {noformat}
> _WHEN 1=1_ - works correctly in such case. Additional info was given in [1]
> [1] https://issues.apache.org/jira/browse/IGNITE-14612



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

Reply via email to