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

Konstantin Orlov reassigned IGNITE-23172:
-----------------------------------------

    Assignee: Konstantin Orlov

> Sql. Lack of bounds validation in CAST(1 as DECIMAL(MAX_PREC, MAX_SCALE))
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-23172
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23172
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Konstantin Orlov
>            Assignee: Konstantin Orlov
>            Priority: Major
>              Labels: ignite-3
>
> A query like {{SELECT CAST(1 AS DECIMAL(32767, 32767))}} returns 1 although 
> it must throw {{Numeric field overflow}}.
> Let's fix validation during CAST when precision and scale equals to their max 
> values.



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

Reply via email to