Koji Noguchi created PIG-5224:
---------------------------------
Summary: Extra foreach from ColumnPrune preventing Accumulator
usage
Key: PIG-5224
URL: https://issues.apache.org/jira/browse/PIG-5224
Project: Pig
Issue Type: Improvement
Reporter: Koji Noguchi
{code}
A = load 'input' as (id:int, fruit);
B = foreach A generate id; -- to enable columnprune
C = group B by id;
D = foreach C {
o = order B by id;
generate org.apache.pig.test.utils.AccumulatorBagCount(o);
}
STORE D into ...
{code}
Pig fails to use Accumulator interface for this UDF.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)