Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/21383#discussion_r189901979 --- Diff: python/pyspark/shuffle.py --- @@ -67,6 +67,19 @@ def get_used_memory(): return 0 +def safe_iter(f): --- End diff -- how about `fail_on_StopIteration`?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org