[
https://issues.apache.org/jira/browse/IGNITE-22519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maksim Zhuravkov updated IGNITE-22519:
--------------------------------------
Summary: Sql. Numerics. Conversion produces incorrect results (was: Sql.
BIGINT. Conversion from a decimal numeric string should return an error)
> Sql. Numerics. Conversion produces incorrect results
> ----------------------------------------------------
>
> Key: IGNITE-22519
> URL: https://issues.apache.org/jira/browse/IGNITE-22519
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Maksim Zhuravkov
> Priority: Major
> Labels: ignite-3
>
> The following query returns 100:
> {noformat}
> SELECT CAST('100.1' AS BIGINT);
> Values(tuples=[[{ 100 }]]):
> {noformat}
> *Expected result*
> It should be an error because '100.1' can not be converted to BIGINT/long.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)