Skip to content

Commit

Permalink
Fix reducer argument in pastebin exercise (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrasch authored and donnemartin committed Jun 14, 2017
1 parent 17e5fb7 commit cc48058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solutions/system_design/pastebin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class HitCounts(MRJob):
period = self.extract_year_month(line)
yield (period, url), 1
def reducer(self, key, value):
def reducer(self, key, values):
"""Sum values for each key.
(2016-01, url0), 2
Expand Down

0 comments on commit cc48058

Please sign in to comment.