2010YOUY01 commented on code in PR #19708:
URL: https://github.com/apache/datafusion/pull/19708#discussion_r2685579617
##########
datafusion/execution/src/disk_manager.rs:
##########
@@ -169,6 +172,17 @@ pub struct DiskManager {
/// Used disk space in the temporary directories. Now only spilled data for
/// external executors are counted.
used_disk_space: Arc<AtomicU64>,
+ /// Number of active temporary files created by this disk manager
+ active_files_count: Arc<AtomicUsize>,
+}
+
+/// Information about the current disk usage for spilling
+#[derive(Debug, Clone, Copy)]
+pub struct SpillingProgress {
Review Comment:
Perhaps we can call it `SpillingMetricsSnapshot`, to make its usage more
clear.
--
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]