You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/06/25 14:18:53 UTC
[GitHub] [spark] vkorukanti commented on a change in pull request #33065: [SPARK-35880][SS] Track the duplicates dropped count in dedupe operator
vkorukanti commented on a change in pull request #33065:
URL: https://github.com/apache/spark/pull/33065#discussion_r658800635
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/streaming/StateStoreMetricsTest.scala
##########
@@ -76,6 +76,41 @@ trait StateStoreMetricsTest extends StreamTest {
}
true
}
+ }
+
+ /** AssertOnQuery to verify the given state operator's custom metric has expected value */
+ def assertStateOperatorCustomMetric(
+ metric: String, expected: Long, operatorIndex: Int = 0): AssertOnQuery = {
Review comment:
refactored the common code as suggested.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org