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 2024/12/18 14:59:00 UTC
[jira] [Resolved] (SPARK-49636) Remove the ANSI config suggestion in INVALID_ARRAY_INDEX and INVALID_ARRAY_INDEX_IN_ELEMENT_AT
[ https://issues.apache.org/jira/browse/SPARK-49636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-49636.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 49213
[https://github.com/apache/spark/pull/49213]
> Remove the ANSI config suggestion in INVALID_ARRAY_INDEX and INVALID_ARRAY_INDEX_IN_ELEMENT_AT
> ----------------------------------------------------------------------------------------------
>
> Key: SPARK-49636
> URL: https://issues.apache.org/jira/browse/SPARK-49636
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Mihailo Milosevic
> Assignee: Mihailo Milosevic
> Priority: Major
> Labels: pull-request-available, starter
> Fix For: 4.0.0
>
>
> INVALID_ARRAY_INDEX and INVALID_ARRAY_INDEX_IN_ELEMENT_AT contain suggested fixes for turning off ANSI mode. Now that in Spark 4.0.0 we have moved to ANSI mode on by default, we want to keep suggestions of this kind to the minimum. There exist implementations of `try_*` functions which provide safe way to get behaviour as for ANSI mode off and suggestions of this kind should be sufficient.
--
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