Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the CAST expression:
typeCheckFailureMessage (6): https://github.com/apache/spark/blob/f8d51b9940b5f1f7c1f37693b10931cbec0a4741/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala#L428-L455
Attachments
Issue Links
- is a clone of
-
SPARK-40361 Migrate arithmetic type check failures onto error classes
- Resolved
- links to