Description
Both:
SELECT 2147483647 + 1 SELECT (2147483647 + 1)::DECIMAL(18,0)
returns:
-2147483648
due to incorrect derive type for type overflow operations.
note: processing of mentioned cases differs between DB implementations.
Attachments
Issue Links
- is a clone of
-
IGNITE-18662 Sql. Numeric to/from decimal cast with overflow does not produce an error
- Resolved