MCPcopy Create free account
hub / github.com/apache/datafusion / get_bucket_name

Function get_bucket_name

datafusion-cli/src/object_storage.rs:314–318  ·  view source on GitHub ↗
(url: &Url)

Source from the content-addressed store, hash-verified

312}
313
314fn get_bucket_name(url: &Url) -> Result<&str> {
315 url.host_str().ok_or_else(|| {
316 exec_datafusion_err!("Not able to parse bucket name from url: {}", url.as_str())
317 })
318}
319
320/// This struct encapsulates AWS options one uses when setting up object storage.
321#[derive(Default, Debug, Clone)]

Callers 3

get_object_store_builderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…