[ 
https://issues.apache.org/jira/browse/SPARK-26826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-26826:
------------------------------------

    Assignee:     (was: Apache Spark)

> Array indexing functions array_allpositions and array_select
> ------------------------------------------------------------
>
>                 Key: SPARK-26826
>                 URL: https://issues.apache.org/jira/browse/SPARK-26826
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Petar Zecevic
>            Priority: Major
>
> This ticket proposes two extra array functions: `array_allpositions` (named 
> after `array_position`) and `array_select`. These functions should make it 
> easier to:
> * get an array of indices of all occurences of a value in an array 
> (`array_allpositions`)
> * select all elements of an array based on an array of indices 
> (`array_select`)
> Although higher-order functions, such as `aggregate` and `transform`, have 
> been recently added, performing tasks above is still not simple, hence this 
> addition.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to