[
https://issues.apache.org/jira/browse/SPARK-37750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang updated SPARK-37750:
-----------------------------------
Description:
Add a new configuration `spark.sql.ansi.failOnElementNotExists` which controls
whether throwing exceptions or returning null results when element not exists
in the [] operator in array/map type.
The default value of the new configuration is true.
was:
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()
> 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
> Fix For: 3.3.0
>
>
> Add a new configuration `spark.sql.ansi.failOnElementNotExists` which
> controls whether throwing exceptions or returning null results when element
> not exists in the [] operator in array/map type.
> The default value of the new configuration is true.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]