Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the misc expressions:
1. Coalesce(1)
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/nullExpressions.scala#L60
2. SortOrder(1)
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/SortOrder.scala#L75
3. UnwrapUDT(1):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/UnwrapUDT.scala#L36
4. ParseUrl(1):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/urlExpressions.scala#L185
5. XPathExtract(1)
https://github.com/apache/spark/blob/a241256ed0778005245253fb147db8a16105f75c/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/xml/xpath.scala#L45
Attachments
Issue Links
- is a clone of
-
SPARK-40751 Migrate type check failures of high order functions onto error classes
- Resolved
- is cloned by
-
SPARK-40755 Migrate type check failures of number formatting onto error classes
- Resolved
- links to