hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-158) Rework logical plan
Date Fri, 23 May 2008 18:35:57 GMT

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

Santhosh Srinivasan commented on PIG-158:

The discussion on LOProject has moved to the wiki published by Pi. My comments on LOSentinel:

   1.  Introduce LOSentinel which can be used to get 1 field out of outer plan (from tuple
or bag).
   2.  Use LOProject only when projecting tuples or bags (and output tuple/bag)


1. Is the role of LOSentinel to be a bridge from outer plan to inner plan only, i.e., project
a column from the outer plan?

2. In the example given below, how will the translation of A.$0 and B.$1 look? Since LOProject
is proposed to be used only for projecting tuples or bags, if $0 and $1 are say integer and
float respectively, do we use LOProject or LOSentinel?

A = load 'input1';
B = load 'input2';
C = cogroup A by $0, B by $0;
D = foreach C generate A.$0 * B.$1;

> 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.

View raw message