[ https://issues.apache.org/jira/browse/SPARK-16876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405961#comment-15405961 ]
Kapil Singh commented on SPARK-16876: ------------------------------------- For example, consider a data field in which miscellaneous product metadata is coming as single string "product_id=325173517;ref=abcorg;product_id=8712176531;ref=xyzorg" and all product ids are to be extracted. There is no direct way to achieve this through existing expressions. > Add match Column expression for regular expression matching in Scala API > ------------------------------------------------------------------------- > > Key: SPARK-16876 > URL: https://issues.apache.org/jira/browse/SPARK-16876 > Project: Spark > Issue Type: Improvement > Components: SQL > Reporter: Kapil Singh > Priority: Minor > > RegExpExtract expression gets only the i_th_ regular expression match. A > match expression should be there to get all the matches as an array of > strings. -- 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