Skip to content

Commit

Permalink
tutorial: Don't group when there is no destination
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianOellegaard committed Jan 24, 2015
1 parent a39efd7 commit b3e8109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def definition(self):
self.add_ramp(WordRamp, 'sentence')
self.add_intersection(SentenceSplitIntersection, 'sentence', 'word', processes=2)
self.add_intersection(WordCountIntersection, 'word', 'word_count', grouper_cls=HashRingGrouper, processes=2)
self.add_intersection(AggregateIntersection, 'word_count', grouper_cls=HashRingGrouper, processes=1)
self.add_intersection(AggregateIntersection, 'word_count', processes=1)


WordCountPipeline().run()

0 comments on commit b3e8109

Please sign in to comment.