Affects Version/s: 0.8.0
Fix Version/s: 0.8.1
a = load '2records' as (f1:chararray,f2:chararray);
b = group a by f1;
d = foreach b
This causes infinite loop if MyCOUNT implements Accumulator interface.
The workaround is to take the function out of nested foreach into a separate foreach statement.