-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C++][FS][Azure] Implement DeleteDirContents()
#38701
Comments
kou
added a commit
to kou/arrow
that referenced
this issue
Nov 27, 2023
kou
added a commit
to kou/arrow
that referenced
this issue
Dec 1, 2023
kou
added a commit
that referenced
this issue
Dec 1, 2023
### 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. * Closes: #38701 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…che#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. * Closes: apache#38701 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
It's not implemented yet.
This is a child of GH-18014.
Component(s)
C++
The text was updated successfully, but these errors were encountered: