[ https://issues.apache.org/jira/browse/SPARK-17619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15531866#comment-15531866 ]
Hyukjin Kwon commented on SPARK-17619: -------------------------------------- Hm, is this a regression and it was supported before? Could you please elaborate what you meant by "fully backward compatible"? BTW, I think we could do this via UDF. > 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