pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-3532) Empty plan fails to run
Date Tue, 22 Oct 2013 00:28:43 GMT
Daniel Dai created PIG-3532:

             Summary: 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

View raw message