close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Aug 20, 2013, 2:29:15 PM (12 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
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 |