andygrove commented on code in PR #1730: URL: https://github.com/apache/datafusion-comet/pull/1730#discussion_r2086704226
########## native/core/src/execution/shuffle/shuffle_writer.rs: ########## @@ -625,22 +626,24 @@ impl MultiPartitionShuffleRepartitioner { return Ok(()); } - let num_output_partitions = self.partition_writers.len(); - let mut partitioned_batches = self.partitioned_batches(); - let mut spilled_bytes = 0; + with_trace("shuffle_spill", self.tracing_enabled, || { Review Comment: The closure here does not call any async code. The `spill` method was marked as `async` but didn't need to be so I have now updated that. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org