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

Passing null to REPLACE udf preventing JIT optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      Saw a case where runtime for tasks varied by 10 times for the same code, same input, and same node. Turns out Java was indecisive on enabling JIT optimization for REPLACE/Matcher/regex call path due to repetitive NPE thrown from inside.

      Attachments

        1. pig-5389-v01.patch
          0.6 kB
          Koji Noguchi

        Activity

          People

            knoguchi Koji Noguchi
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: