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:47:56 GMT

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

Santhosh Srinivasan commented on PIG-158:
-----------------------------------------

For the "is null" operator proposed in the execution pipeline functional specification, there
are a couple of options to implement the syntax:

1. SQL like syntax

{code}
A = load 'input1';
B = Filter A by $0 is null;
C = Filter A by $1 is not null;
{code}

2. Procedural language like syntax

{code}
A = load 'input1';
B = Filter A by IsNull($0);
C = Filter A by IsNotNull($1);
{code}

I am leaning towards the SQL like syntax. Wanted to hear from folks on their preferences and
why.

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


Mime
View raw message