srowen commented on code in PR #36237:
URL: https://github.com/apache/spark/pull/36237#discussion_r854066333


##########
core/src/main/scala/org/apache/spark/status/KVUtils.scala:
##########
@@ -100,6 +100,33 @@ private[spark] object KVUtils extends Logging {
     }
   }
 
+  /** Counts the number of elements in the KVStoreView which satisfy a 
predicate. */
+  def count[T](view: KVStoreView[T])(countFunc: T => Boolean): Int = {

Review Comment:
   I think that's OK



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