You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2013/10/22 02:28:44 UTC
[jira] [Updated] (PIG-3532) Empty plan fails to run
[ https://issues.apache.org/jira/browse/PIG-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-3532:
----------------------------
Attachment: PIG-3532-1.patch
> 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)