You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/10/11 13:38:00 UTC

[jira] [Created] (SPARK-40751) Migrate type check failures of high order functions onto error classes

Max Gekk created SPARK-40751:
--------------------------------

             Summary: Migrate type check failures of high order functions onto error classes
                 Key: SPARK-40751
                 URL: https://issues.apache.org/jira/browse/SPARK-40751
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Max Gekk


Replace TypeCheckFailure by DataTypeMismatch in type checks in the math expressions:
1. HashExpression (2): https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/hash.scala#L271-L275
2. RoundBase (1): 
https://github.com/apache/spark/blob/1431975723d8df30a25b2333eddcfd0bb6c57677/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala#L1484



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org