kou opened a new pull request, #48777:
URL: https://github.com/apache/arrow/pull/48777
### Rationale for this change
We can't remove a file if someone is still opening the file on Windows.
We use `Tempfile` for tests. It removes associated file when it's GC-ed. If
we still open the associated file, the GC process reports the following warning:
```text
warning: Exception in finalizer
#<Tempfile::FinalizerManager:0x000001fb3c15ac00 @open_files={},
@path="D:/a/_temp/batch20260107-2120-ddy0e0.arrow", @pid=2120, @unlinked=false>
```
### What changes are included in this PR?
Ensure removing temporary files.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes. Only for `gparquet_arrow_file_reader_close()`.
--
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]