HeartSaVioR commented on a change in pull request #23142: [SPARK-26170][SS] Add 
missing metrics in FlatMapGroupsWithState
URL: https://github.com/apache/spark/pull/23142#discussion_r242349224
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/FlatMapGroupsWithStateExec.scala
 ##########
 @@ -111,28 +111,41 @@ case class FlatMapGroupsWithStateExec(
       indexOrdinal = None,
       sqlContext.sessionState,
       Some(sqlContext.streams.stateStoreCoordinator)) { case (store, iter) =>
+        val numOutputRows = longMetric("numOutputRows")
 
 Review comment:
   You're right I missed the metrics in InputProcessor. We can remove 
`numOutputRows` here. Thanks for finding missing spot!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]

Reply via email to