Pig
  1. Pig
  2. PIG-1923

Jython UDFs fail to convert Maps of Integer values back to Pig types

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: impl
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      java.io.IOException: Error executing function: org.apache.pig.backend.executionengine.ExecException: ERROR 0: Cannot convert jython type to pig datatype org.apache.pig.backend.executionengine.ExecException: ERROR 0: Cannot convert jython type to pig datatype java.lang.ClassCastException: java.lang.Integer cannot be cast to org.python.core.PyObject
      at org.apache.pig.scripting.jython.JythonFunction.exec(JythonFunction.java:109)
      at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:229)
      ... 10 more

      1. PIG-1923_branch-0.8.patch
        6 kB
        Julien Le Dem
      2. PIG-1923_trunk.patch
        5 kB
        Julien Le Dem

        Activity

        Hide
        Julien Le Dem added a comment -

        PIG-1923.patch fixes the bug in trunk

        Show
        Julien Le Dem added a comment - PIG-1923 .patch fixes the bug in trunk
        Hide
        Julien Le Dem added a comment -

        PIG-1923_branch-0.8.patch
        fix for the branch 0.8

        Show
        Julien Le Dem added a comment - PIG-1923 _branch-0.8.patch fix for the branch 0.8
        Hide
        Julien Le Dem added a comment -

        PIG-1923_trunk.patch supersedes PIG-1923.patch
        I forgot to include the new test case.
        fix for trunk

        Show
        Julien Le Dem added a comment - PIG-1923 _trunk.patch supersedes PIG-1923 .patch I forgot to include the new test case. fix for trunk
        Hide
        Richard Ding added a comment -

        +1

        Show
        Richard Ding added a comment - +1
        Hide
        Olga Natkovich added a comment -

        Julien, are you ready to commit this patch?

        Show
        Olga Natkovich added a comment - Julien, are you ready to commit this patch?
        Hide
        Julien Le Dem added a comment -

        committed in TRUNK

        Show
        Julien Le Dem added a comment - committed in TRUNK

          People

          • Assignee:
            Julien Le Dem
            Reporter:
            Julien Le Dem
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development