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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13098223#comment-13098223 ] 

Daniel Dai commented on PIG-2261:
---------------------------------

Hi, Richard, do you plan to work on it? Does it need to be fixed in 0.9.1?

> 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