GitHub user e-dorigatti opened a pull request:
https://github.com/apache/spark/pull/21383
[SPARK-23754][Python] Re-raising StopIteration in client code
## What changes were proposed in this pull request?
Make sure that `StopIteration`s raised in users' code do not silently
interrupt processing by spark, but are raised as exceptions to the users.
## How was this patch tested?
Unit tests, making sure that the exceptions are indeed raised.
## License
This is my original work, licensed in the same way as spark
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/e-dorigatti/spark fix_spark_23754
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21383.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21383
----
commit ec7854a8504ec08485b3536ea71483cce46f9500
Author: e-dorigatti <emilio.dorigatti@...>
Date: 2018-05-21T17:30:10Z
re-raising StopIteration in client code
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]