polars_io::cloud

Function build_object_store

Source
pub async fn build_object_store(
    url: &str,
    options: Option<&CloudOptions>,
    glob: bool,
) -> PolarsResult<(CloudLocation, Arc<dyn ObjectStore>)>
Available on crate feature cloud only.
Expand description

Build an ObjectStore based on the URL and passed in url. Return the cloud location and an implementation of the object store.