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

Inline-op with schema declaration fails with syntax error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.1, 0.15.0
    • 0.16.0
    • parser
    • None
    • Reviewed

    Description

      Inline-op+foreach+schema("as") fails.

      knoguchi@truelisten-lm pig> cat test6.pig
      A = load 'input.txt' as (a1:int, a2:int);
      B = FOREACH (FOREACH A GENERATE a1 as b1) GENERATE b1;
      
      dump B;
      

      2016-03-11 17:57:31,364 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during parsing. Lexical error at line 5, column 0. Encountered: <EOF> after : ""

      Attachments

        1. pig-4841-v01.patch
          3 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: