Skip to content

Commit c373866

Browse files
icaromedeirossrowen
authored andcommitted
[PYTHON] Fixed typo in exception message
Just fixing a typo in exception message, raised when attempting to pickle SparkContext. Author: Icaro Medeiros <[email protected]> Closes #8724 from icaromedeiros/master.
1 parent b231ab8 commit c373866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def __getnewargs__(self):
255255
# This method is called when attempting to pickle SparkContext, which is always an error:
256256
raise Exception(
257257
"It appears that you are attempting to reference SparkContext from a broadcast "
258-
"variable, action, or transforamtion. SparkContext can only be used on the driver, "
258+
"variable, action, or transformation. SparkContext can only be used on the driver, "
259259
"not in code that it run on workers. For more information, see SPARK-5063."
260260
)
261261

0 commit comments

Comments
 (0)