[
https://issues.apache.org/jira/browse/SPARK-8231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635961#comment-14635961
]
Reynold Xin commented on SPARK-8231:
------------------------------------
Take a look at Hive's implementation
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFArrayContains.java
> complex function: array_contains
> --------------------------------
>
> Key: SPARK-8231
> URL: https://issues.apache.org/jira/browse/SPARK-8231
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Cheng Hao
>
> array_contains(Array<T>, value)
> Returns TRUE if the array contains value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]