Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the high-order functions expressions:
1. ArraySort (2):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala#L403-L407
2. ArrayAggregate (1):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala#L807
3. MapZipWith (1):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala#L1028
Attachments
Issue Links
- is a clone of
-
SPARK-40750 Migrate type check failures of math expressions onto error classes
- Resolved
- is cloned by
-
SPARK-40752 Migrate type check failures of misc expressions onto error classes
- Resolved
- links to