Commit 7fa9b813 authored by leroyq's avatar leroyq

twt5

parent 8a311e3b
dataset = LOAD 'tw.txt' AS (id: long, fr: long);
dataset = LOAD '/laboratory/twitter-small.txt' AS (id: long, fr: long);
-- TODO: check if user IDs are valid (e.g. not null) and clean the dataset
B = FILTER dataset BY (id>0);
......@@ -10,4 +10,4 @@ D = GROUP C BY id;
friends = FOREACH D GENERATE group, COUNT(C);
STORE friends INTO './local-output/OSN/twc/';
STORE friends INTO '/twitter/results';
......@@ -8,6 +8,6 @@ C = FOREACH B GENERATE id;
D = GROUP C BY id;
friends = FOREACH D GENERATE group, COUNT(D);
friends = FOREACH D GENERATE group, COUNT(C);
STORE friends INTO './local-output/OSN/twc/';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment