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

Restore support for parenthesis in Pig 0.9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1
    • impl
    • None
    • Reviewed

    Description

      Pig 0.8 and earlier versions used to support syntax such as

      A =(load ....)
      

      This was removed as "useless" in 0.9 when the grammar was redone. It turns out that some user is using this for ease of code generation so we want to restore it back.

      Just to clarify, Pig 0.9 continues to support composite statements such as

      B = filter (load 'data' as (a, b)) by a > 0;
      

      It just removed "useless" parenthesis and doesn't support statements like

      A = (load 'data' as (a, b));
      

      Attachments

        1. PIG-2261.patch
          4 kB
          Richard Ding

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: