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/07/11 09:38:00 UTC

[jira] [Created] (IGNITE-19947) Sql. Fix CAST(n AS DECIMAL(precision, scale) behaviour for scale > precision.

Maksim Zhuravkov created IGNITE-19947:
-----------------------------------------

             Summary: Sql. Fix CAST(n AS DECIMAL(precision, scale) behaviour for scale > precision.
                 Key: IGNITE-19947
                 URL: https://issues.apache.org/jira/browse/IGNITE-19947
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 3.0.0-beta1
            Reporter: Maksim Zhuravkov


CAST(n AS DECIMAL(p, s) always returns `numeric field overflow` error when s > p which is not correct, in such case we should also check `n`.




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