Description
Replace TypeCheckFailure by DataTypeMismatch in type checks in window expressions:
1. WindowSpecDefinition (4): https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala#L68-L85
2. SpecifiedWindowFrame (3): https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala#L216-L231
3. checkBoundary (2): https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala#L264-L269
4. FrameLessOffsetWindowFunction (1): https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala#L424
Attachments
Issue Links
- is cloned by
-
SPARK-40358 Migrate collection type check failures onto error classes
- Resolved
-
SPARK-40361 Migrate arithmetic type check failures onto error classes
- Resolved
-
SPARK-40371 Migrate type check failures of NthValue and NTile onto error classes
- Resolved
- links to