You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "ueshin (via GitHub)" <gi...@apache.org> on 2025/02/01 01:46:53 UTC
[PR] [SPARK-51056][PYTHON] Avoid unnecessary object creation in SparkSession.getActiveSession. [spark]
ueshin opened a new pull request, #49758:
URL: https://github.com/apache/spark/pull/49758
### What changes were proposed in this pull request?
Avoids unnecessary object creation in `SparkSession.getActiveSession`.
### Why are the changes needed?
`SparkSession.getActiveSession` tries to create a new `SparkSession` instance, but the instance will not be used in many cases.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
The existing tests should pass.
### Was this patch authored or co-authored using generative AI tooling?
No.
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-51056][PYTHON] Avoid unnecessary object creation in SparkSession.getActiveSession. [spark]
Posted by "ueshin (via GitHub)" <gi...@apache.org>.
ueshin closed pull request #49758: [SPARK-51056][PYTHON] Avoid unnecessary object creation in SparkSession.getActiveSession.
URL: https://github.com/apache/spark/pull/49758
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-51056][PYTHON] Avoid unnecessary object creation in SparkSession.getActiveSession. [spark]
Posted by "ueshin (via GitHub)" <gi...@apache.org>.
ueshin commented on PR #49758:
URL: https://github.com/apache/spark/pull/49758#issuecomment-2629080565
Thanks! merging to master/4.0.
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-51056][PYTHON] Avoid unnecessary object creation in SparkSession.getActiveSession. [spark]
Posted by "ueshin (via GitHub)" <gi...@apache.org>.
ueshin commented on PR #49758:
URL: https://github.com/apache/spark/pull/49758#issuecomment-2629080518
The remaining tests are not related to this PR.
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org