xinrong-meng commented on code in PR #45269:
URL: https://github.com/apache/spark/pull/45269#discussion_r1513550672
##########
python/docs/source/reference/pyspark.sql/spark_session.rst:
##########
@@ -49,6 +49,7 @@ See also :class:`SparkSession`.
SparkSession.createDataFrame
SparkSession.getActiveSession
SparkSession.newSession
+ SparkSession.profile
Review Comment:
I have a workaround
[76e7387](https://github.com/apache/spark/pull/45269/commits/76e738768d591ff59e9f14210bbccecc9458896a)
by using autoclass, but it doesn't look consistent with the rest of the page,
as shown below.

I'm wondering if we should have a follow-up designated for that part.
##########
python/docs/source/development/debugging.rst:
##########
@@ -341,7 +372,12 @@ Python/Pandas UDF
~~~~~~~~~~~~~~~~~
To use this on Python/Pandas UDFs, PySpark provides remote `Python Profilers
<https://docs.python.org/3/library/profile.html>`_ for
-Python/Pandas UDFs, which can be enabled by setting ``spark.python.profile``
configuration to ``true``.
+Python/Pandas UDFs.
+
+SparkContext-based
Review Comment:
I have a workaround
[76e7387](https://github.com/apache/spark/pull/45269/commits/76e738768d591ff59e9f14210bbccecc9458896a)
by using autoclass, but it doesn't look consistent with the rest of the page,
as shown below.

I'm wondering if we should have a follow-up designated for that part.
--
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]