[
https://issues.apache.org/jira/browse/IGNITE-28371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Iurii Gerzhedovich updated IGNITE-28371:
----------------------------------------
Description:
Example:
{code:sql}
'NaN'::FLOAT::INT
{code}
Currently returns 0, but according to SQL spec must raise "data exception —
numeric value out of range." (6.13 cast specification -> general rule 8).
Also let's check +-/Inf
was:
Example:
{code:sql}
'NaN'::FLOAT::INT
{code}
Currently returns 0, but according to SQL spec must raise "data exception —
numeric value out of range." (6.13 cast specification -> general rule 8).
> Sql. Cast special floating-point values to integer must produce out of range
> error
> ----------------------------------------------------------------------------------
>
> Key: IGNITE-28371
> URL: https://issues.apache.org/jira/browse/IGNITE-28371
> Project: Ignite
> Issue Type: Improvement
> Components: sql ai3
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> Example:
> {code:sql}
> 'NaN'::FLOAT::INT
> {code}
> Currently returns 0, but according to SQL spec must raise "data exception —
> numeric value out of range." (6.13 cast specification -> general rule 8).
>
> Also let's check +-/Inf
--
This message was sent by Atlassian Jira
(v8.20.10#820010)