You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "xiong duan (Jira)" <ji...@apache.org> on 2024/10/17 01:37:00 UTC

[jira] [Updated] (CALCITE-6406) Negative scales for DECIMAL types are not tested

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

xiong duan updated CALCITE-6406:
--------------------------------
    Fix Version/s: 1.38.0

> Negative scales for DECIMAL types are not tested
> ------------------------------------------------
>
>                 Key: CALCITE-6406
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6406
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.37.0
>            Reporter: Mihai Budiu
>            Priority: Minor
>             Fix For: 1.38.0
>
>
> Calcite allows DECIMAL types to have negative scales.
> This is in line with other SQL dialects.
> I suspect that the type system should decide whether negative scales are allowed or not.
> Moreover, if they are allowed, they should be tested properly.



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