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

Discrepancy in the way dry run handles semicolon in macro definition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: grunt
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Macro definition requires a semicolon to mark the end. For example:

      define mymacro(x) returns y {... ...};
      

      But invoked through command line, the macro definitions without semicolon also work except in the case of dryrun. This discrepancy is due to GruntParser automatic appending a semicolon to Pig statements if semicolon is absent at the end. Dryrun GruntParser should do the same.

        Attachments

          Activity

            People

            • Assignee:
              rding Richard Ding
              Reporter:
              rding Richard Ding
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: