Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. countByYear = FOREACH groupByYear
  2. >> GENERATE group AS YearOfPublication, COUNT($1) AS BookCount;
  3.  
  4. DESCRIBE countByYear;
  5. countByYear: {YearOfPublication: int,BookCount: int}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement