Description
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.
Attachments
Issue Links
- duplicates
-
CALCITE-6322 Casts to DECIMAL types are ignored
- Closed
- relates to
-
CALCITE-5860 Decimal type conversion missing scale
- Open