Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the string and regexp expressions:
1. Elt (3):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala#L276-L284
2. RegExpReplace (2):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/regexpExpressions.scala#L597-L604
Attachments
Issue Links
- is a clone of
-
SPARK-40748 Migrate type check failures of conditions onto error classes
- Resolved
- is cloned by
-
SPARK-40759 Migrate type check failures of time window onto error classes
- Resolved
- links to