From eb4bf483b9725854d704ab17f862b90476c552b8 Mon Sep 17 00:00:00 2001 From: Ken Takagiwa Date: Sat, 19 Jul 2014 18:58:01 -0700 Subject: [PATCH] fix map function --- python/pyspark/streaming/dstream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/pyspark/streaming/dstream.py b/python/pyspark/streaming/dstream.py index 18415fcebe771..8eea3f4d52782 100644 --- a/python/pyspark/streaming/dstream.py +++ b/python/pyspark/streaming/dstream.py @@ -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: