[
https://issues.apache.org/jira/browse/CALCITE-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17879658#comment-17879658
]
Julian Hyde commented on CALCITE-6406:
--------------------------------------
This should be done as part of CALCITE-6560, not a separate jira case and
commit. CALCITE-6560 modifies the parser to allow negative scale, therefore it
should change the parser test in the same commit.
> 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
>
> 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)