You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chongguang LIU (Jira)" <ji...@apache.org> on 2020/12/16 10:18:00 UTC

[jira] [Commented] (SPARK-33275) ANSI mode: runtime errors instead of returning null

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

Chongguang LIU commented on SPARK-33275:
----------------------------------------

Hello [~cloud_fan] and [~leanken],

 

I had [this idea/proposition|https://issues.apache.org/jira/browse/SPARK-33794] after reading this ticket here.

Do you think it is relavant? If yes, should it be attached to this ticket?

 

> ANSI mode: runtime errors instead of returning null
> ---------------------------------------------------
>
>                 Key: SPARK-33275
>                 URL: https://issues.apache.org/jira/browse/SPARK-33275
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Wenchen Fan
>            Priority: Major
>
> We should respect the ANSI mode in more places. What we have done so far are mostly the overflow check in various operators. This ticket is to track a category of ANSI mode behaviors: operators should throw runtime errors instead of returning null when the input is invalid.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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