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

Mihai Budiu resolved CALCITE-6078.
----------------------------------
    Resolution: Duplicate

Since I didn't provide any test cases, I will close this issue, under the 
assumption that it's covered by the recently resolved CALCITE-6322

> Explicit cast to DECIMAL types do not check for overflow
> --------------------------------------------------------
>
>                 Key: CALCITE-6078
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6078
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Mihai Budiu
>            Priority: Minor
>
> This is a follow-up from [CALCITE-5990]
> That issue dealt with integers and floating point.
> This issue is about casts to DECIMAL in which the cast value exceeds the 
> scale of the target result. Apparently Calcite does not handle such casts 
> properly. There are multiple disabled SqlOperatorTests for this condition.



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

Reply via email to