[ https://issues.apache.org/jira/browse/CALCITE-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780983#comment-17780983 ]
Stamatis Zampetakis commented on CALCITE-6078: ---------------------------------------------- [~mbudiu] Is this a duplicate of CALCITE-5860? > 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)