[
https://issues.apache.org/jira/browse/SPARK-51051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-51051:
-----------------------------------
Labels: pull-request-available (was: )
> array_position function should accept an optional 'start_index' parameter
> -------------------------------------------------------------------------
>
> Key: SPARK-51051
> URL: https://issues.apache.org/jira/browse/SPARK-51051
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.4
> Reporter: Shreyas
> Priority: Major
> Labels: pull-request-available
>
> Most programming languages that support "array_position" type of function
> have an optional parameter to start from a specific index.
> For e.g. Javascript has the
> [indexOf|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf]
> function that accepts *fromIndex* parameter. Same with Scala indexOf on
> Lists as well.
> It would be nice to add that parameter to Spark's array_position function as
> well.
> Thanks!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]