Pig
  1. Pig
  2. PIG-2261

Restore support for parenthesis in Pig 0.9

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1
    • Component/s: impl
    • Labels:
      None
    • Hadoop Flags:
      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));
      
      1. PIG-2261.patch
        4 kB
        Richard Ding

        Activity

        Richard Ding created issue -
        Richard Ding made changes -
        Field Original Value New Value
        Summary Restor support for parenthesis in Pig 0.9 Restore support for parenthesis in Pig 0.9
        Richard Ding made changes -
        Assignee Richard Ding [ rding ]
        Richard Ding made changes -
        Attachment PIG-2261.patch [ 12496187 ]
        Richard Ding made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Daniel Dai made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Daniel Dai made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development