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

Konstantin Orlov updated IGNITE-18369:
--------------------------------------
    Fix Version/s: 3.0.0-beta2

> Sql. Incorrect inferred return type for functions  for NUMERIC types
> --------------------------------------------------------------------
>
>                 Key: IGNITE-18369
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18369
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Yury Gerzhedovich
>            Assignee: Maksim Zhuravkov
>            Priority: Major
>              Labels: calcite2-required, calcite3-required, ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> For functions takes numeric parameters return type is DECIMAL sintead of the 
> same type as parameter.
> For example the following test is broken:
> {code:java}
> assertQuery("SELECT COALESCE(12.2, 'b')").returns(12.2).check();{code}
> Result will be BigDecimal



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to