Commit 1f0b52c8 authored by leroyq's avatar leroyq

e1 e2

parent a49cc90a
......@@ -10,4 +10,4 @@ D = GROUP C BY fr;
friends = FOREACH D GENERATE group, COUNT(C);
STORE friends INTO '/twitter/results-e1';
STORE friends INTO './twitter/results-e1';
dataset = LOAD 'tw.txt' AS (id: long, fr: long);
dataset = LOAD './tw.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);
......
......@@ -12,4 +12,4 @@ friends = FOREACH D GENERATE group, COUNT(C) AS count;
friends2 = FILTER friends BY (count > 2)
STORE friends2 INTO '/twitter/results-e2';
STORE friends2 INTO './twitter/results-e2';
dataset = LOAD 'tw.txt' AS (id: long, fr: long);
dataset = LOAD './tw.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 '/twitter/results3';
STORE friends INTO './twitter/results3';
......@@ -10,4 +10,4 @@ D = GROUP C BY id;
friends = FOREACH D GENERATE group, COUNT(C);
STORE friends INTO '/twitter/results2';
STORE friends INTO '/twitter/results3';
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