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

A simple map reference fail to cast

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16.1
    • None
    • None
    • Reviewed

    Description

      A = load 'input.txt' as (m:[bytearray]);
      B = FOREACH A GENERATE m#'a' as a, m#'e' as e;
      C = FILTER B by a != 'abc' and e != 'abc';
      store C into 'output';
      

      This fails with

      Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR 1075: Received a bytearray from the UDF or Union from two different Loaders. Cannot determine how to convert the bytearray to string

      Attachments

        1. pig-4974-type1-v01.patch
          4 kB
          Koji Noguchi

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: