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

Regression: Pig gives error "Projection with nothing to reference!" for a valid query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None
    • None

    Description

      Pig has problem parsing the following query:

      A = load 'x' as (u:map[], v);
      B = foreach A

      { T = (chararray)u#'hello'#'world'; generate T; }

      ;

      2011-04-19 12:45:24,486 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2225: Projection with nothing to reference!

      Attachments

        1. PIG-2002.patch
          2 kB
          Xuefu Zhang

        Activity

          People

            xuefuz Xuefu Zhang
            xuefuz Xuefu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: