Skip to content

Commit 58efc4b

Browse files
itholicHyukjinKwon
authored andcommitted
[SPARK-41933][FOLLOWUP][CONNECT] Correct an error message
### What changes were proposed in this pull request? This PR follow-ups for #39441 to fix the wrong error message. ### Why are the changes needed? Error message correction. ### Does this PR introduce _any_ user-facing change? No, but it's just about error message. ### How was this patch tested? The existing CI should pass Closes #40112 from itholic/SPARK-41933-followup. Lead-authored-by: itholic <haejoon.lee@databricks.com> Co-authored-by: Haejoon Lee <44108233+itholic@users.noreply.github.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent ffc8ac9 commit 58efc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def getOrCreate(self) -> "SparkSession":
458458
else:
459459
raise RuntimeError(
460460
"Cannot start a remote Spark session because there "
461-
"is a regular Spark Connect already running."
461+
"is a regular Spark session already running."
462462
)
463463

464464
session = SparkSession._instantiatedSession

0 commit comments

Comments
 (0)