Yongning Wu created PIG-4510:
--------------------------------
Summary: empty result set after foreach
Key: PIG-4510
URL: https://issues.apache.org/jira/browse/PIG-4510
Project: Pig
Issue Type: Bug
Affects Versions: 0.12.0
Environment: aws EC2
Apache Pig version 0.12.0 (rexported) compiled Jan 24 2015, 01:40:48
Reporter: Yongning Wu
Priority: Critical
dataset A is loaded with PigStorage. Then after one filter statement, get B.
Then one foreach statement, the result set C is empty. Later use of C would
show C is empty depending on what operations may apply on B.
A = load '$input' using PigStorage('\t', '-schema');
B = filter A by (something);
C = foreach B generate some_field, some_field*some_field;
then C is empty unless additional operation is made on B.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)