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-type and so on. Some of them are editable, like content-type, but some are non-editable like last-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_metadata for metadata
- Impelment
user_metadata for services
This issue is used to track the implementation of user metadata support.
Context
There are two types of metadata across various storage services.
last-modified,content-typeand so on. Some of them are editable, likecontent-type, but some are non-editable likelast-modified.OpenDAL now only supports
System Definedmetadata, we should add support forUser Definedmetadata so that users can write most useful information along with the file data. For example, write thelocationfor this file.Tasks
user_metadatafor metadatauser_metadata: HashMap<String, String>inMetadatauser_metadatain metakeywrite_with_user_metadatain capabilityuser_metadataintegration testsuser_metadatafor services