HyukjinKwon commented on code in PR #45873:
URL: https://github.com/apache/spark/pull/45873#discussion_r1554421375
##########
python/pyspark/conf.py:
##########
@@ -60,11 +62,11 @@ class SparkConf:
Examples
--------
- >>> from pyspark.core.conf import SparkConf
- >>> from pyspark.core.context import SparkContext
+ >>> from pyspark.conf import SparkConf
+ >>> from pyspark.context import SparkContext
Review Comment:
The example does not need to be changed actually. I just changed to use the
API instead of internal package `pyspark.context`.
Just to be clear:
- `from pyspark.core.context import SparkContext`
- `from pyspark.context import SparkContext`
- `from pyspark.import SparkContext`
all work fine. There's no behaviour change
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]