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/07/05 13:13:00 UTC

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

    [ https://issues.apache.org/jira/browse/IGNITE-14589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17374818#comment-17374818 ] 

Konstantin Orlov commented on IGNITE-14589:
-------------------------------------------

[~vermakov], LGTM!

> 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
>            Assignee: Vladimir Ermakov
>            Priority: Major
>              Labels: calcite2-required, calcite3-required
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> There are numerous problem with a decimal types:
> * 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)