Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the generator expressions:
1. Stack (3): https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala#L163-L170
2. ExplodeBase (1): https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala#L299
3. Inline (1):
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala#L441
Attachments
Issue Links
- is a clone of
-
SPARK-40748 Migrate type check failures of conditions onto error classes
- Resolved
- is cloned by
-
SPARK-40750 Migrate type check failures of math expressions onto error classes
- Resolved
- links to