You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Doug Daniels (JIRA)" <ji...@apache.org> on 2013/02/25 19:20:15 UTC

[jira] [Commented] (PIG-3136) Introduce a syntax making declared aliases optional

    [ https://issues.apache.org/jira/browse/PIG-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586082#comment-13586082 ] 

Doug Daniels commented on PIG-3136:
-----------------------------------

This would be awesome—-I have wanted it many, many times when I don't care about the relation name, but just need a processing step to occur.  Also, super helpful for refactoring to add relations in the middle without propagating them all the way down the chain.

I like the syntax too.  It emphasizes continuation from the previous statement well.
                
> Introduce a syntax making declared aliases optional
> ---------------------------------------------------
>
>                 Key: PIG-3136
>                 URL: https://issues.apache.org/jira/browse/PIG-3136
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Jonathan Coveney
>            Assignee: Jonathan Coveney
>             Fix For: 0.12
>
>         Attachments: PIG-3136-0.patch, PIG-3136-1.patch
>
>
> This is something Daniel and I have talked about before, and now that we have the @ syntax, this is easy to implement. The idea is that relation names are no longer required, and you can instead use a fat arrow (obviously that can be changed) to signify this. The benefit is not having to engage in the mental load of having to name everything.
> One other possibility is just making "alias =" optional. I fear that that could be a little TOO magical, but I welcome opinions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira