-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We should add an ObjectStore::list_opts to allow
- Specifying both a start offset and delimiter Expose
list_paginatedin object_store #291 - Providing
Extensionsfeat: addExtensionsto object storePutOptionsarrow-rs#7213
Describe the solution you'd like
I think the following API should work and eventually allow providing default implementations of list and list_with_delimiter that call through to list_opts
struct ListOptions {
pub offset: Option<Path>,
pub delimiter: bool,
pub extensions: Extensions
}
fn list_opts(&self, opts: ListOptions) -> BoxStream<'static, Result<ListResult>>
Describe alternatives you've considered
We could expose an API that more explicitly exposes the paginated nature of the underlying APIs, however, such APIs are quite cumbersome to use, and wouldn't obviously translate to LocalFileSystem.
Additional context
hugocasa, stayrascal and frank-lsf
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed