Skip to content

Commit

Permalink
fix map function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Takagiwa authored and giwa committed Sep 20, 2014
1 parent 98c2a00 commit eb4bf48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/streaming/dstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ def combineLocally(iterator):

#TODO for count operation make sure count implementation
# This is different from what pyspark does
if isinstance(x, int):
x = ("", x)
#if isinstance(x, int):
# x = ("", x)

(k, v) = x
if k not in combiners:
Expand Down

0 comments on commit eb4bf48

Please sign in to comment.