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
(v6.1#6144)