You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Zhuravkov (Jira)" <ji...@apache.org> on 2023/01/30 11:33:00 UTC

[jira] [Created] (IGNITE-18662) Sql. Numeric to decimal cast with overflow does not produce an error

Maksim Zhuravkov created IGNITE-18662:
-----------------------------------------

             Summary: Sql. Numeric to decimal cast with overflow does not produce an error
                 Key: IGNITE-18662
                 URL: https://issues.apache.org/jira/browse/IGNITE-18662
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Maksim Zhuravkov
             Fix For: 3.0.0-beta2


Casts from numeric type to decimal with overflow must fail but they return a result:
{code:java}
SELECT 10000000::BIGINT::DECIMAL(3,1)
{code}
See skipif-ed examples in cast_to_decimal.test




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