You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2021/04/19 09:13:00 UTC

[jira] [Created] (IGNITE-14589) Calcite engine. Numerous problem with type Decimal

Konstantin Orlov created IGNITE-14589:
-----------------------------------------

             Summary: Calcite engine. Numerous problem with type Decimal
                 Key: IGNITE-14589
                 URL: https://issues.apache.org/jira/browse/IGNITE-14589
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Konstantin Orlov


There are numerous problem with a decimal types:
* very big numbers printed in scientific notation
* leading and trailing zeros are truncated when converting to string
* casting to precise scale is not working( {{select cast('0.01' as decimal(10, 1)) * 10}} returns 0.1 instead of 0)

Affected tests:
{{src/test/sql/types/decimal}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)