jdesjean commented on code in PR #42454:
URL: https://github.com/apache/spark/pull/42454#discussion_r1294073984
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/ExecuteEventsManager.scala:
##########
@@ -193,12 +202,21 @@ case class ExecuteEventsManager(executeHolder:
ExecuteHolder, clock: Clock) {
/**
* Post @link
org.apache.spark.sql.connect.service.SparkListenerConnectOperationFinished.
*/
- def postFinished(): Unit = {
+ def postFinished(totalNumRowsOpt: Option[Long] = None): Unit = {
Review Comment:
Consider renaming to `producedRowsCountOpt`.
Please add documentation to indicate that this is the number of rows that
are returned to the user. None is expected when the operation does not return
any rows.
--
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]