Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5306

REGEX_EXTRACT() logs every line that doesn't match

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      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

      Attachments

        1. PIG-5306-1.patch
          0.5 kB
          Satish Saley

        Activity

          People

            satishsaley Satish Saley
            satishsaley Satish Saley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: