av8or1 commented on code in PR #39840:
URL: https://github.com/apache/arrow/pull/39840#discussion_r1473106663
##########
cpp/src/arrow/filesystem/azurefs.cc:
##########
@@ -1690,6 +1690,32 @@ class AzureFileSystem::Impl {
}
}
+ Status DeleteFile(const AzureLocation& location) {
+ if (location.path.empty()) {
+ return Status::Invalid("Cannot delete an empty path");
+ }
Review Comment:
Sure, done. Those three lines have been replaced with:
` RETURN_NOT_OK(ValidateFileLocation(location));`
--
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]