wForget commented on code in PR #4599:
URL: https://github.com/apache/datafusion-comet/pull/4599#discussion_r3385352954


##########
native/shuffle/src/partitioners/partitioned_batch_iterator.rs:
##########
@@ -85,19 +86,22 @@ impl<'a> PartitionedBatchIterator<'a> {
             pos: 0,
         }
     }
-}
-
-impl Iterator for PartitionedBatchIterator<'_> {
-    type Item = datafusion::common::Result<RecordBatch>;
 
-    fn next(&mut self) -> Option<Self::Item> {
+    /// Returns the next shuffled batch, recording the gather cost into 
`interleave_time`.
+    pub(crate) fn next(
+        &mut self,
+        interleave_time: &Time,

Review Comment:
   Yes, I was following the code style used by the other shuffle writer metrics.



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

Reply via email to