[
https://issues.apache.org/jira/browse/CALCITE-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781304#comment-17781304
]
Stamatis Zampetakis commented on CALCITE-6078:
----------------------------------------------
OK I changed the relation with CALCITE-5860 for now. Note that CALCITE-5860 is
also about the runtime behavior of casts and it specifically targets to renable
all decimal related tests in SqlOperatorTests.
> 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)