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

Discrepancy in the way dry run handles semicolon in macro definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • grunt
    • None
    • 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

        1. PIG-2005_1.patch
          2 kB
          Richard Ding

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: