viirya commented on issue #7523:
URL: 
https://github.com/apache/arrow-datafusion/issues/7523#issuecomment-1716444288

   @alamb Yea, I noticed this intermittent test failure locally. But I have no 
clue why it fails for now. I suspect tempfile/tempdir was dropped too early so 
the temporary file/dir was deleted before we read it, i.e. 
https://docs.rs/tempfile/latest/tempfile/#early-drop-pitfall. However the code 
looks okay as the `path: NamedTempFile` isn't moved into `read_spill`:
   
   ```rust
   let result = read_spill(sender, path.path());
   ```
   
   So I'm wondering why tempfile was deleted. 🤔 


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

Reply via email to