Guest User

Untitled

a guest
Jan 15th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. A = load 'X' as (row);
  2. B = group A all;
  3. C = foreach B generate COUNT(A) as count;
  4. D = LIMIT A C.count/10; --you might need a cast to integer here
  5.  
  6. A = load 'myfile' as (t, u, v);
  7. B = order A by t;
  8. C = limit B 10;
Add Comment
Please, Sign In to add comment