diff options
author | Josh Rosen <joshrosen@databricks.com> | 2016-03-11 11:18:51 -0800 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-03-11 11:18:51 -0800 |
commit | 073bf9d4d91e0242a813f3d227e52e76c26a2200 (patch) | |
tree | 469a2cdc7e9e67c64005aa2938dfb0cdfcebac22 /examples/src/main/python/ml/gradient_boosted_tree_classifier_example.py | |
parent | ff776b2fc1cd4c571fd542dbf807e6fa3373cb34 (diff) | |
download | spark-073bf9d4d91e0242a813f3d227e52e76c26a2200.tar.gz spark-073bf9d4d91e0242a813f3d227e52e76c26a2200.tar.bz2 spark-073bf9d4d91e0242a813f3d227e52e76c26a2200.zip |
[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.
Diffstat (limited to 'examples/src/main/python/ml/gradient_boosted_tree_classifier_example.py')
0 files changed, 0 insertions, 0 deletions