wjones127 opened a new issue, #179:
URL: https://github.com/apache/arrow-rs-object-store/issues/179

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   In an object store, we might have a bunch of sequential files being written:
   
   ```
   0000001.json
   0000002.json
   ...
   0001000.json
   ```
   
   We'd like to be able to query for all the "new" files starting at a certain 
point, skipping all the earlier files.
   
   S3 has a `start-after` parameter we can use for this. 
https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html#API_ListObjectsV2_RequestParameters
   TDB on other systems.
   
   **Describe the solution you'd like**
   
   Not sure the best way to add the parameter. Does it belong in a new method? 
Should we introduce a more complex "ListCallBuilder" API?
   
   ```rust
   let list_stream = object_store
        .build_list_call(Some(&prefix))
        .with_start_key("0000999.json")
        .await
        .expect("Error listing files");
   ```
   
   **Describe alternatives you've considered**
   
   Not sure if there is an easier way to do it.
   
   **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]

Reply via email to