cetra3 commented on code in PR #20159:
URL: https://github.com/apache/datafusion/pull/20159#discussion_r2771510814
##########
datafusion/physical-plan/src/spill/spill_pool.rs:
##########
@@ -194,6 +194,8 @@ impl SpillPoolWriter {
// Append the batch
if let Some(ref mut writer) = file_shared.writer {
writer.append_batch(batch)?;
+ // make sure we flush the writer for readers
Review Comment:
We need to do this, or we need to ensure data is written before we try
reading it, maybe we could do it periodically rather than each batch
--
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]