Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Later
-
3.2.0
-
None
-
None
Description
Current, the overflow exception error messages of integral types are different.
For Byte/Short type, the message is "... caused overflow"
For Int/Long, the message is "int/long overflow" since Spark is calling the "*Exact"(e.g. addExact, negateExact) methods from java.lang.Math.
We should unify the error message by changing the message of Byte/Short as "tinyint/smallint overflow"