Github user holdenk commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20838#discussion_r204093418
  
    --- Diff: python/pyspark/streaming/dstream.py ---
    @@ -23,6 +23,8 @@
     
     if sys.version < "3":
         from itertools import imap as map, ifilter as filter
    +else:
    +    long = int
    --- End diff --
    
    Adding a call to slice in `tests.py` should be enough to test this. I'm 
surprised we haven't caught this before, but I suppose this isn't a very 
frequently exercised code path.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to