Function deltalake::storage::url_prefix_handler
source · pub fn url_prefix_handler<T>(store: T, prefix: Path) -> Arc<dyn ObjectStore>where
T: ObjectStore,
Expand description
Simple function to wrap the given ObjectStore in a PrefixStore if necessary
This simplifies the use of the storage since it ensures that list/get/etc operations start from the prefix in the object storage rather than from the root configured URI of the ObjectStore