Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pig-lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nguyentd
pig-lab
Commits
3c471745
Commit
3c471745
authored
8 years ago
by
nguyentd
Browse files
Options
Downloads
Patches
Plain Diff
Ex twitter join
parent
46ebef23
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sample-solutions/OSN/tw-join.pig
+1
-1
1 addition, 1 deletion
sample-solutions/OSN/tw-join.pig
sample-solutions/OSN/tw-join.pig~
+1
-1
1 addition, 1 deletion
sample-solutions/OSN/tw-join.pig~
with
2 additions
and
2 deletions
sample-solutions/OSN/tw-join.pig
+
1
−
1
View file @
3c471745
...
...
@@ -2,7 +2,7 @@
A = LOAD 'sample-input/OSN/tw.txt' AS (id: long, fr: long);
good_dataA = FILTER A BY id is not null and fr is not null;
good_dataB = good_data
B
;
good_dataB = good_data
A
;
DUMP good_dataA;
-- TODO: compute all the two-hop paths
...
...
This diff is collapsed.
Click to expand it.
sample-solutions/OSN/tw-join.pig~
+
1
−
1
View file @
3c471745
-- TODO: load the input dataset, located in ./local-input/OSN/tw.txt
A = LOAD 'sample-input/OSN/tw.txt' AS (id: long, fr: long);
good_dataA = FILTER
dataset
BY id is not null and fr is not null;
good_dataA = FILTER
A
BY id is not null and fr is not null;
good_dataB = good_dataB;
DUMP good_dataA;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment