Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A = load 'X' as (row);
- B = group A all;
- C = foreach B generate COUNT(A) as count;
- D = LIMIT A C.count/10; --you might need a cast to integer here
- A = load 'myfile' as (t, u, v);
- B = order A by t;
- C = limit B 10;
Add Comment
Please, Sign In to add comment