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

Sean Owen commented on SPARK-16894:
-----------------------------------

That's because it exists already in Hive (and other databases?) It exists for 
compatibility.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to