LuciferYang commented on code in PR #36237:
URL: https://github.com/apache/spark/pull/36237#discussion_r857059687
##########
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:
@srowen I separate the code related to these 4 new functions into a new pr:
https://github.com/apache/spark/pull/36237/files
--
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]