hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1118) expression with aggregate functions returning null, with accumulate interface
Date Tue, 01 Dec 2009 21:57:20 GMT
expression with aggregate functions returning null, with accumulate interface
-----------------------------------------------------------------------------

                 Key: PIG-1118
                 URL: https://issues.apache.org/jira/browse/PIG-1118
             Project: Pig
          Issue Type: Bug
            Reporter: Thejas M Nair


The problem is in trunk . It works fine in 0.6 branch.

l = load '/tmp/students.txt' as (a : chararray,b : chararray,c : int);
grunt> g = group l by 1;
grunt> dump g;
(1,{(asdfxc,M,23),(qwer,F,21),(uhsdf,M,34),(zxldf,M,21),(qwer,F,23),(oiue,M,54)})
grunt> f = foreach g generate SUM(l.c), 1 + SUM(l.c) + SUM(l.c);
grunt> dump f;
(176L,)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message