tustvold opened a new issue, #7239:
URL: https://github.com/apache/arrow-rs/issues/7239
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
<!--
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
(This section helps Arrow developers understand the context and *why* for
this feature, in addition to the *what*)
-->
We should add an ObjectStore::list_opts to allow
* Specifying both a start offset and delimiter #7237
* Providing `Extensions` #7213
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
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**
<!--
A clear and concise description of any alternative solutions or features
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**
<!--
Add any other context or screenshots about the feature request here.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]