kou opened a new pull request, #38888:
URL: https://github.com/apache/arrow/pull/38888

   ### Rationale for this change
   
   `DeleteDirContents()` deletes the given directory contents recursively like 
other filesystem implementations.
   
   Azure file system treats the following cases as root directory:
   * Empty container
   * Empty path
   
   ### What changes are included in this PR?
   
   List and delete approach is used with/without hierarchical namespace 
support. Because Azure doesn't provide "DeleteDirContents" API with 
hierarchical namespace support. We may want to use delete the given directory 
and create an empty approach instead of list and delete approach for 
performance but it may not be acceptable with some use cases. 
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Yes.


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