You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Richard Ding (JIRA)" <ji...@apache.org> on 2011/09/01 10:24:09 UTC

[jira] [Updated] (PIG-2261) Restore support for parenthesis in Pig 0.9

     [ https://issues.apache.org/jira/browse/PIG-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Ding updated PIG-2261:
------------------------------

    Summary: Restore support for parenthesis in Pig 0.9  (was: Restor support for parenthesis in Pig 0.9)

> Restore support for parenthesis in Pig 0.9
> ------------------------------------------
>
>                 Key: PIG-2261
>                 URL: https://issues.apache.org/jira/browse/PIG-2261
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>             Fix For: 0.9.1
>
>
> Pig 0.8 and earlier versions used to support syntax such as 
>  
> {code}
> A =(load ....)
> {code}
> 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
> {code}
> B = filter (load 'data' as (a, b)) by a > 0;
> {code}
> It just removed "useless" parenthesis and doesn't support statements like
> {code}
> A = (load 'data' as (a, b));
> {code}
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira