Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/23183#discussion_r238019351
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/QueryPlanningTracker.scala
---
@@ -51,6 +58,18 @@ object QueryPlanningTracker {
}
}
+ /**
+ * Summary of a phase, with start time and end time so we can construct
a timeline.
+ */
+ class PhaseSummary(val startTimeMs: Long, val endTimeMs: Long) {
+
+ def durationMs: Long = endTimeMs - startTimeMs
+
+ override def toString: String = {
+ s"PhaseSummary($startTimeMs, $endTimeMs)"
--- End diff --
so for actual debugging this is not needed right?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]