Changes between Version 1 and Version 2 of YZU130807/Lab14
- Timestamp:
- Aug 20, 2013, 2:29:15 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
YZU130807/Lab14
v1 v2 21 21 ~$ pig -x local 22 22 grunt> log = LOAD 'excite-small.log' AS (user, timestamp, query); 23 grunt> describe log 23 24 grunt> grpd = GROUP log BY user; 25 grunt> describe grpd 24 26 grunt> cntd = FOREACH grpd GENERATE group, COUNT(log); 27 grunt> describe cntd 25 28 grunt> STORE cntd INTO 'lab8_out1'; 26 29 grunt> quit