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

Kapil Singh commented on SPARK-16894:
-------------------------------------

How is it different from array_contains? Why is array_contains a built-in 
function instead of a UDF?

> take function for returning the first n elements of array column
> ----------------------------------------------------------------
>
>                 Key: SPARK-16894
>                 URL: https://issues.apache.org/jira/browse/SPARK-16894
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Kapil Singh
>
> take(inputArray, n)
> Returns array containing first n elements of inputArray



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to