[ https://issues.apache.org/jira/browse/PIG-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-5214: ---------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) +1. Patch committed to trunk. Thanks Yuxiang! > search any substring in the input string > ---------------------------------------- > > Key: PIG-5214 > URL: https://issues.apache.org/jira/browse/PIG-5214 > Project: Pig > Issue Type: New Feature > Components: internal-udfs > Reporter: Yuxiang Wang > Assignee: Yuxiang Wang > Fix For: 0.17.0 > > Attachments: PIG-5214-1.patch, PIG-5214-2.patch > > > A new Pig UDF *STRING_SEARCH_ALL* that Implementing regex for searching > keyword(substring) in a line of string, and all matched substrings will be > stored as individual tuples in a bag, i.e.{code} output: ({(a),(b),(c)}){code} > Help us to find all regex matches, for example, we may use > *FLATTEN(STRING_SEARCH_ALL(string, regex))* to list all matches for an easier > view of output. -- This message was sent by Atlassian JIRA (v6.3.15#6346)