value --> values
parent
8e8f78b2ce
commit
615a66fa41
|
@ -26,7 +26,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
|
||||
|
|
Loading…
Reference in New Issue