cloud-fan commented on a change in pull request #31679:
URL: https://github.com/apache/spark/pull/31679#discussion_r587240944



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/DataWritingCommand.scala
##########
@@ -73,4 +74,14 @@ object DataWritingCommand {
       attr.withName(outputName)
     }
   }
+
+  def updateMetrics(

Review comment:
       `propogateMetrics` is probably more accurate.

##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/DataWritingCommand.scala
##########
@@ -73,4 +74,14 @@ object DataWritingCommand {
       attr.withName(outputName)
     }
   }
+
+  def updateMetrics(

Review comment:
       and let's add a comment to explain when this should be called.




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

Reply via email to