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

Pedro Rodriguez commented on SPARK-8231:
----------------------------------------

What should the null behavior of this be? If the array is null, it should 
probably return false correct? If the value is null, then just do a regular 
contains check for null?

> 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]

Reply via email to