Skip to content

[C++][FS][Azure] Produce better error message when Move is attempted on flat-namespace accounts #40405

@felipecrv

Description

@felipecrv

Describe the enhancement requested

Azure Blobs Storage doesn't support renaming of blobs (without downloading and re-uploading the Blob) and offers even less support for atomic rename of multiple blobs.

Users are advised to enable Hierarchical Namespace support [1] if they intend to perform Move operations. AzureFileSystem will automatically detect HNS is enabled and use the Azure Data Lake File System Gen 2 APIs [1] and perform Move operations through that. Then even directories can be moved (something that even the Arrow S3FileSystem doesn't support at the moment).

Before giving up, I started the work in [2]. If anyone wants to implement just blob Move or directory Move, I recommend cloning the branch and continuing the work from there.

[1] https://learn.microsoft.com/en-gb/azure/storage/blobs/data-lake-storage-namespace
[2] #40025

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions