tustvold commented on code in PR #4348:
URL: https://github.com/apache/arrow-datafusion/pull/4348#discussion_r1031170711
##########
datafusion/core/src/execution/disk_manager.rs:
##########
@@ -103,21 +103,26 @@ impl DiskManager {
}
/// Return a temporary file from a randomized choice in the configured
locations
- pub fn create_tmp_file(&self) -> Result<NamedTempFile> {
+ ///
+ /// If the file can not be created for some reason, returns an
+ /// error message referencing the request description
+ pub fn create_tmp_file(&self, request_description: &str) ->
Result<NamedTempFile> {
Review Comment:
Hopefully once we rework the error handling story, we can move away from
this nonsense
--
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]