You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Mridul Muralidharan (JIRA)" <ji...@apache.org> on 2010/08/25 14:07:16 UTC
[jira] Commented: (PIG-1321) Logical Optimizer: Merge cascading
foreach
[ https://issues.apache.org/jira/browse/PIG-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902392#action_12902392 ]
Mridul Muralidharan commented on PIG-1321:
------------------------------------------
Is the merge prevented only if flatten is present, or for any udf ?
> Logical Optimizer: Merge cascading foreach
> ------------------------------------------
>
> Key: PIG-1321
> URL: https://issues.apache.org/jira/browse/PIG-1321
> Project: Pig
> Issue Type: Sub-task
> Components: impl
> Affects Versions: 0.7.0
> Reporter: Daniel Dai
> Assignee: Xuefu Zhang
> Fix For: 0.8.0
>
> Attachments: jira-1321-2.patch, pig-1321.patch
>
>
> We can merge consecutive foreach statement.
> Eg:
> b = foreach a generate a0#'key1' as b0, a0#'key2' as b1, a1;
> c = foreach b generate b0#'kk1', b0#'kk2', b1, a1;
> => c = foreach a generate a0#'key1'#'kk1', a0#'key1'#'kk2', a0#'key2', a1;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.