lu-wang-dl opened a new pull request #24705: [SPARK-22340][PYTHON] Save localProperties in thread.local URL: https://github.com/apache/spark/pull/24705 ## What changes were proposed in this pull request? - Add `threading.local()` in `SparkContext` - Save the value to thread local variables when calling `setLocalProperty`, `setJobGroup`, and `setJobDescription` - Add new API `getLocalProperties` - Send local properties to jvm side when calling `collect` - On jvm side `setLocalProperty` in `collectAndServe` ## How was this patch tested? Add one unit test in test_rdd.py Please review https://spark.apache.org/contributing.html before opening a pull request.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
