pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Wagner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3532) Empty plan fails to run
Date Tue, 22 Oct 2013 01:01:39 GMT

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

Mark Wagner commented on PIG-3532:
----------------------------------

LGTM!

> Empty plan fails to run
> -----------------------
>
>                 Key: PIG-3532
>                 URL: https://issues.apache.org/jira/browse/PIG-3532
>             Project: Pig
>          Issue Type: Sub-task
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: tez-branch
>
>         Attachments: PIG-3532-1.patch
>
>
> Currently run a Pig script with empty plan fail:
> a = load 'input.txt';
> b = group a by a0;
> store b into 'ooo';
> Non empty plan works:
> a = load 'input.txt' as (a0:chararray);
> b = group a by a0;
> c = foreach b generate group, COUNT(a) as count;
> d = group c by count;
> store d into 'ooo';
> Put a simple patch contains the fix.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message