Eric5553 commented on a change in pull request #27846: [SPARK-31079][SQL]
Logging QueryExecutionMetering in RuleExecutor logger
URL: https://github.com/apache/spark/pull/27846#discussion_r389647740
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/rules/QueryExecutionMetering.scala
##########
@@ -95,3 +107,26 @@ case class QueryExecutionMetering() {
""".stripMargin
}
}
+
+case class QueryExecutionMetrics(
+ time: Long,
+ numRuns: Long,
+ numEffectiveRuns: Long,
+ timeEffective: Long) {
+
+ def +(metrics: QueryExecutionMetrics): QueryExecutionMetrics = {
Review comment:
Emm. Not used by now, agree to add it once we really need this. Removed in
36bf2e134436a9b5c7d96c839855dd69cef45538.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]