Mihai Budiu created CALCITE-6078:
------------------------------------
Summary: 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
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)