source:
proiecte/PDAD/trunk/endreason/pig/endreason.pig
@
154
Last change on this file since 154 was 154, checked in by , 14 years ago | |
---|---|
File size: 261 bytes |
Line | |
---|---|
1 | |
2 | A = load '$inputDir/event_trace.tab' as (a, b, c, d, e, f, g, h, end_reason: int); |
3 | B = filter A by end_reason is not null; |
4 | C = group B by end_reason; |
5 | D = foreach C generate group, COUNT($1); |
6 | E = order D by $1; |
7 | STORE E INTO '$outputDir' USING PigStorage(); |
Note: See TracBrowser
for help on using the repository browser.