Spenserrrr commented on code in PR #59892:
URL: https://github.com/apache/spark/pull/59892#discussion_r4548194518
##########
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 agreed with that. I will leave locking and per-thread collection out of
this PR and either would need to be considered if pipeline timing is added
later.
--
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]