[
https://issues.apache.org/jira/browse/PIG-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922781#action_12922781
]
Alan Gates commented on PIG-678:
--------------------------------
It seems like we also need to consider this for JOIN, UNION, CROSS.
> "as" support for group-by
> -------------------------
>
> Key: PIG-678
> URL: https://issues.apache.org/jira/browse/PIG-678
> Project: Pig
> Issue Type: Improvement
> Reporter: Christopher Olston
> Assignee: Alan Gates
> Priority: Minor
> Fix For: 0.9.0
>
>
> I should be able to use "as" with GROUP the same way I use it with LOAD, i.e.
> rename the entire schema. This is especially important b/c the system
> automatically assigns schema names for the output of group that many people
> find unintuitive.
> e.g. this should work:
> grouped = GROUP data BY url AS (url, history);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.