-
Notifications
You must be signed in to change notification settings - Fork 715
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
This issue is used to track the implementation of user metadata support.
Context
There are two types of metadata across various storage services.
- System Defined: metadata like
last-modified,content-typeand so on. Some of them are editable, likecontent-type, but some are non-editable likelast-modified. - User Defined: extra metadata that provided by user, can be any valid string.
OpenDAL now only supports System Defined metadata, we should add support for User Defined metadata so that users can write most useful information along with the file data. For example, write the location for this file.
Tasks
- Implement
user_metadatafor metadata- Add
user_metadata: HashMap<String, String>inMetadata - Add
user_metadatain metakey - Add
write_with_user_metadatain capability - Add
user_metadataintegration tests
- Add
- Impelment
user_metadatafor services- s3: feat(core/services-s3): support user defined metadata #5030
- azblob: https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata
- oss: feat(core): support user defined metadata for oss #4881
- gcs: feat(core/services-gcs): support user defined metadata #5276
- cos: feat(services/cos): Added user metadata support for cos service #5510
- obs: feat(services/obs): support user defined metadata #5405
- swift: feat(services/swift): Added user metadata support for swift service #5601
- azdls
- azfile
- b2
- fs
- upyun
- webdav
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed