Yicong-Huang commented on code in PR #59892:
URL: https://github.com/apache/spark/pull/59892#discussion_r4417490090


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -5857,7 +5857,10 @@ object SQLConf {
   val PYTHON_UDF_DETAILED_TIMING_ENABLED =
     buildConf("spark.sql.execution.pythonUDF.detailedTiming.enabled")
       .internal()
-      .doc("When true, collect detailed timing metrics for supported Python 
UDFs.")
+      .doc("When true, collect detailed timing metrics for supported Python 
UDFs. " +
+        "With spark.python.udf.pipelined.enabled, phase timings can overlap 
and their sum " +
+        "does not represent elapsed time. Exclude reports with nonzero " +
+        "pythonNumPipelinedTasks from additive phase breakdowns.")

Review Comment:
   I wonder if the current design (shared metrics) is thread-safe. if we are 
going on this mode for now, we need to check that.



-- 
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]

Reply via email to