Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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.
output: ({(a),(b),(c)})
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.