I have relation named ==> total which i get after grouping a file
so if i use this command grunt> describe total;
grunt> **total: {group: int,long}**
file date =>
(851,3)
(1110,6)
(1115,19)
(1758,2)
(,1)
So the problem is i want to calculate the sum of long colum which has to give 31 in the total.
i used this line.
show_total = FOREACH total_flights GENERATE SUM(group);
but it is giving error please guide me to do it right.