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

Single quote inside comment in GENERATE is not being ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0
    • 0.16.0
    • None
    • None

    Description

      A = load '1.txt' as (a1:int, a2:int);
      B = FOREACH A GENERATE a1,
       -- testing ' here with single quote
                    a2;
      dump B;
      

      This fails with

      2016-02-29 20:09:05,507 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during parsing. Lexical error at line 6, column 0. Encountered: <EOF> after : ""

      Attachments

        1. pig-4818-v01.patch
          2 kB
          Koji Noguchi

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: