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

bincond ERROR 1025: Invalid field projection when null is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • build
    • None
    • Linux 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

      Hadoop 0.20.203.3.1104011556 -r 96519d04f65e22ffadf89b225d0d44ef1741d126
      Compiled on Fri Apr 1 16:29:09 PDT 2011

    • Reviewed

    Description

      This is a regression for 9.

      a = load '1.txt' as (a0, a1);
      b = foreach a generate (a0==0?null:2);
      explain b;

      ERROR 1025:
      Invalid field projection. Projected field [null] does not exist in schema

      Attachments

        1. PIG-2083.1.patch
          8 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            araceli Araceli Henley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: