Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in the percentile expressions:
1. Percentile (4):
https://github.com/apache/spark/blob/3f3201a7882b817a8a3ecbfeb369dde01e7689d8/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ApproximatePercentile.scala#L122-L129
2. PercentileBase (3):
https://github.com/apache/spark/blob/8559f88f8ed9d22751975150a6d5735653a1e528/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/percentiles.scala#L87-L93
Attachments
Issue Links
- is a clone of
-
SPARK-40760 Migrate type check failures of interval expressions onto error classes
- Resolved
- links to