Skip to content

Commit 932372a

Browse files
committed
clean up dstream.py
1 parent 0b09cff commit 932372a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/pyspark/streaming/dstream.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,6 @@ def combineByKey(self, createCombiner, mergeValue, mergeCombiners,
140140
def combineLocally(iterator):
141141
combiners = {}
142142
for x in iterator:
143-
144-
#TODO for count operation make sure count implementation
145-
# This is different from what pyspark does
146-
#if isinstance(x, int):
147-
# x = ("", x)
148-
149143
(k, v) = x
150144
if k not in combiners:
151145
combiners[k] = createCombiner(v)

0 commit comments

Comments
 (0)