You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "viirya (via GitHub)" <gi...@apache.org> on 2023/09/12 21:09:04 UTC

[GitHub] [arrow-datafusion] viirya commented on issue #7523: Intermittent Windows CI failure in "physical_plan::sorts::sort::tests::test_sort_fetch_memory_calculation"

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org