andygrove commented on code in PR #1108:
URL: https://github.com/apache/datafusion-comet/pull/1108#discussion_r1851282296
##########
native/core/src/execution/datafusion/shuffle_writer.rs:
##########
@@ -139,6 +140,14 @@ impl ExecutionPlan for ShuffleWriterExec {
) -> Result<SendableRecordBatchStream> {
let input = self.input.execute(partition, Arc::clone(&context))?;
let metrics = ShuffleRepartitionerMetrics::new(&self.metrics, 0);
+ let read_time =
MetricBuilder::new(&self.metrics).subset_time("read_time", 0);
+
+ // clone the ScanExec elapsed_compute metric
+ let scan_time = self
Review Comment:
The input is a JNI call to fetch a batch that already exists, because
CometExecIterator only invokes ShuffleWriterExec once the input batch is
already available.
--
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]