You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Satish Subhashrao Saley (JIRA)" <ji...@apache.org> on 2017/09/23 03:00:00 UTC

[jira] [Updated] (PIG-5306) REGEX_EXTRACT() logs every line that doesn't match

     [ https://issues.apache.org/jira/browse/PIG-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Satish Subhashrao Saley updated PIG-5306:
-----------------------------------------
    Status: Patch Available  (was: Open)

> REGEX_EXTRACT() logs every line that doesn't match
> --------------------------------------------------
>
>                 Key: PIG-5306
>                 URL: https://issues.apache.org/jira/browse/PIG-5306
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Satish Subhashrao Saley
>            Assignee: Satish Subhashrao Saley
>            Priority: Minor
>         Attachments: PIG-5306-1.patch
>
>
> Pig logs a warning message for every call that doesn't doesn't match a capture group. The documentation only says this case returns NULL. From a developer standpoint, the messages are unlikely to be useful.
> https://github.com/apache/pig/blob/trunk/src/org/apache/pig/builtin/REGEX_EXTRACT.java#L107



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)