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

Inline-op with schema declaration fails with syntax error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.1, 0.15.0
    • Fix Version/s: 0.16.0
    • Component/s: parser
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              knoguchi Koji Noguchi
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: