You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Yuxiang Wang (JIRA)" <ji...@apache.org> on 2017/04/06 21:05:41 UTC
[jira] [Updated] (PIG-5214) search any substring in the input
string
[ https://issues.apache.org/jira/browse/PIG-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuxiang Wang updated PIG-5214:
------------------------------
Summary: search any substring in the input string (was: search any substring in the input substring)
> 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
>
>
> 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)