viirya commented on a change in pull request #31369:
URL: https://github.com/apache/spark/pull/31369#discussion_r566986384
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/StateStoreSuite.scala
##########
@@ -978,6 +978,28 @@ abstract class StateStoreSuiteBase[ProviderClass <:
StateStoreProvider]
assert(store.metrics.memoryUsedBytes > noDataMemoryUsed)
}
+ test("SPARK-34270: StateStoreMetrics.combine should not override individual
metrics") {
+ val customMetric = StateStoreCustomSumMetric("metric1", "custom metric 1")
Review comment:
Changed.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]