Github user BryanCutler commented on a diff in the pull request:
https://github.com/apache/spark/pull/16782#discussion_r103277884
--- Diff: python/pyspark/__init__.py ---
@@ -96,9 +96,11 @@ def keyword_only(func):
"""
@wraps(func)
def wrapper(*args, **kwar
Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/16782#discussion_r103276349
--- Diff: python/pyspark/__init__.py ---
@@ -96,9 +96,11 @@ def keyword_only(func):
"""
@wraps(func)
def wrapper(*args, **kwargs):
GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/16782
[SPARK-19348][PYTHON][WIP] PySpark keyword_only decorator is not thread-safe
## What changes were proposed in this pull request?
The `@keyword_only` decorator in PySpark is not thread-safe.