-
- Downloads
[SPARK-13807] De-duplicate `Python*Helper` instantiation code in PySpark streaming
This patch de-duplicates code in PySpark streaming which loads the `Python*Helper` classes. I also changed a few `raise e` statements to simply `raise` in order to preserve the full exception stacktrace when re-throwing. Here's a link to the whitespace-change-free diff: https://github.com/apache/spark/compare/master...JoshRosen:pyspark-reflection-deduplication?w=0 Author: Josh Rosen <joshrosen@databricks.com> Closes #11641 from JoshRosen/pyspark-reflection-deduplication.
Showing
- python/pyspark/streaming/flume.py 17 additions, 23 deletionspython/pyspark/streaming/flume.py
- python/pyspark/streaming/kafka.py 41 additions, 59 deletionspython/pyspark/streaming/kafka.py
- python/pyspark/streaming/kinesis.py 1 addition, 1 deletionpython/pyspark/streaming/kinesis.py
- python/pyspark/streaming/mqtt.py 1 addition, 1 deletionpython/pyspark/streaming/mqtt.py
Please register or sign in to comment