You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Christopher Olston (JIRA)" <ji...@apache.org> on 2009/02/13 23:16:59 UTC
[jira] Created: (PIG-678) "as" support for group-by
"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
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.
[jira] Updated: (PIG-678) "as" support for group-by
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-678:
---------------------------
Assignee: Alan Gates
Fix Version/s: 0.9.0
Priority: Minor (was: Major)
> "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.
[jira] Commented: (PIG-678) "as" support for group-by
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ 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.