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

Priyanka Garg commented on SPARK-17619:
---------------------------------------

By "fully backward compatible" i meant that array_contains will work in the 
same way  with added functionality of pattern matching.

> To add support for pattern matching in ArrayContains Expression.
> ----------------------------------------------------------------
>
>                 Key: SPARK-17619
>                 URL: https://issues.apache.org/jira/browse/SPARK-17619
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Priyanka Garg
>
> To add support for pattern matching in ArrayContains Expression.
> Array Contains currently only matches the exact value as of now... there 
> should be support for pattern matching as well. 
> For eg. arrayContains(Seq("\\d*", "\\s*"), "100") returns true.



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