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

[jira] [Comment Edited] (SPARK-40361) Migrate arithmetic type check failures onto error classes

    [ https://issues.apache.org/jira/browse/SPARK-40361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615551#comment-17615551 ] 

Shaokang Lv edited comment on SPARK-40361 at 10/11/22 7:30 AM:
---------------------------------------------------------------

[~maxgekk] , I'm working on this.


was (Author: lvshaokang):
I'm working on this.

> Migrate arithmetic type check failures onto error classes
> ---------------------------------------------------------
>
>                 Key: SPARK-40361
>                 URL: https://issues.apache.org/jira/browse/SPARK-40361
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Max Gekk
>            Priority: Major
>
> Replace TypeCheckFailure by DataTypeMismatch in type checks in arithmetic expressions:
> 1. Least (2): https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala#L1188-L1191
> 2. Greatest (2): https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala#L1266-L1269



--
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