roeap / object-store-python

Python bindings and arrow integration for the rust object_store crate.
Apache License 2.0
45 stars 8 forks source link

Question; filter by suffix #22

Open djouallah opened 1 week ago

djouallah commented 1 week ago

is it possible to filter only _last_checkpoint , ideally without doing a full listing ?

import os
from object_store import ObjectStore
store = ObjectStore(table_path,storage_options)
blobs = store.list('*/_delta_log/_last_checkpoint')
print(*blobs, sep='\n')