source: proiecte/PDAD/trunk/endreason/pig/endreason.pig @ 154

Last change on this file since 154 was 154, checked in by (none), 14 years ago

PDAD project

File size: 261 bytes
Line 
1
2A = load '$inputDir/event_trace.tab' as (a, b, c, d, e, f, g, h, end_reason: int); 
3B = filter A by end_reason is not null; 
4C = group B by end_reason;
5D = foreach C generate group, COUNT($1);
6E = order D by $1;
7STORE E INTO '$outputDir' USING PigStorage(); 
Note: See TracBrowser for help on using the repository browser.