Description
For example:
set spark.sql.ansi.enabled=true; select tinyint(128) * tinyint(2);
Error message:
Casting 128 to scala.Byte$ causes overflow
Expected:
Casting 128 to tinyint causes overflow
We should use DataType's catalogString.
For example:
set spark.sql.ansi.enabled=true; select tinyint(128) * tinyint(2);
Error message:
Casting 128 to scala.Byte$ causes overflow
Expected:
Casting 128 to tinyint causes overflow
We should use DataType's catalogString.