You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/12/27 08:28:00 UTC

[jira] [Commented] (SPARK-37750) ANSI mode: optionally return null result if element not exists in array/map

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

Apache Spark commented on SPARK-37750:
--------------------------------------

User 'gengliangwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/35031

> ANSI mode: optionally return null result if element not exists in array/map
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-37750
>                 URL: https://issues.apache.org/jira/browse/SPARK-37750
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>
> Add a new configuration `spark.sql.ansi.failOnElementNotExists` which controls whether throwing exceptions or returning null results when element not exists in:
>  * [] operator in array/map type
>  * element_at()
>  * elt()



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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