You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Pi Song (JIRA)" <ji...@apache.org> on 2008/05/24 17:39:55 UTC
[jira] Issue Comment Edited: (PIG-158) Rework logical plan
[ https://issues.apache.org/jira/browse/PIG-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599552#action_12599552 ]
pi_song edited comment on PIG-158 at 5/24/08 8:39 AM:
------------------------------------------------------
Then, what we encounter here is an arithmetic bag operation
{noformat}
*: Bag x Bag -> Bag
{noformat}
>From what I know, we never have a definition for this.
If you really want to support A.$0 * A.$1 as a syntactic sugar, we can wrap them in another inner FOREACH...GENERATE but I suggest just leave it for the moment. <== Sorry FOREACH...GENERATE also doesn't work. Let's say I don't know.
PS. This also reminds me that we should also support this "quick projection" on top level
{noformat}
A = LOAD 'fil1' ;
B = A.($0,$1) ;
STORE B ;
{noformat}
Have a good weekend, Santhosh :D
was (Author: pi_song):
Then, what we encounter here is an arithmetic bag operation
{noformat}
*: Bag x Bag -> Bag
{noformat}
>From what I know, we never have a definition for this.
If you really want to support A.$0 * A.$1 as a syntactic sugar, we can wrap them in another inner FOREACH...GENERATE but I suggest just leave it for the moment.
PS. This also reminds me that we should also support this "quick projection" on top level
{noformat}
A = LOAD 'fil1' ;
B = A.($0,$1) ;
STORE B ;
{noformat}
Have a good weekend, Santhosh :D
> Rework logical plan
> -------------------
>
> Key: PIG-158
> URL: https://issues.apache.org/jira/browse/PIG-158
> Project: Pig
> Issue Type: Sub-task
> Components: impl
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: logical_operators.patch, logical_operators_rev_1.patch, logical_operators_rev_2.patch, logical_operators_rev_3.patch, parser_changes.patch, parser_changes_v1.patch, parser_changes_v2.patch, parser_changes_v3.patch, parser_changes_v4.patch, ParserErrors.txt, visitorWalker.patch
>
>
> Rework the logical plan in line with http://wiki.apache.org/pig/PigExecutionModel
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.