Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the interval expressions:
1. Average (1):
https://github.com/apache/spark/blob/47d119dfc1a06ee2d520396129b4f09bc22d3fb7/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/TypeUtils.scala#L78
2. ApproxCountDistinctForIntervals (3):
https://github.com/apache/spark/blob/08123a3795683238352e5bf55452de381349fdd9/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ApproxCountDistinctForIntervals.scala#L80-L91
Attachments
Issue Links
- is a clone of
-
SPARK-40759 Migrate type check failures of time window onto error classes
- Resolved
- is cloned by
-
SPARK-40761 Migrate type check failures of percentile expressions onto error classes
- Resolved
-
SPARK-40768 Migrate type check failures of bloom_filter_agg() onto error classes
- Resolved
-
SPARK-40769 Migrate type check failures of aggregate expressions onto error classes
- Resolved
- links to