Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5680#discussion_r29408973
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/scheduler/BatchInfo.scala 
---
    @@ -32,7 +33,7 @@ import org.apache.spark.streaming.Time
     @DeveloperApi
     case class BatchInfo(
         batchTime: Time,
    -    receivedBlockInfo: Map[Int, Array[ReceivedBlockInfo]],
    +    streamIdToNumRecords: Map[Int, Long],
         submissionTime: Long,
         processingStartTime: Option[Long],
         processingEndTime: Option[Long]
    --- End diff --
    
    Can you make a method called `numRecords` which returns the sum? This is 
the same approach taken by @zsxwing in  #5533, so will be easier to merge 
conflicts later. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to