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

Function get_s3_object_store_builder

datafusion-cli/src/object_storage.rs:63–76  ·  view source on GitHub ↗
(
    url: &Url,
    aws_options: &AwsOptions,
    resolve_region: bool,
)

Source from the content-addressed store, hash-verified

61}
62
63pub async fn get_s3_object_store_builder(
64 url: &Url,
65 aws_options: &AwsOptions,
66 resolve_region: bool,
67) -> Result<AmazonS3Builder> {
68 // Box the inner future to reduce the future size of this async function,
69 // which is deeply nested in the CLI's async call chain.
70 Box::pin(get_s3_object_store_builder_inner(
71 url,
72 aws_options,
73 resolve_region,
74 ))
75 .await
76}
77
78async fn get_s3_object_store_builder_inner(
79 url: &Url,

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…