MCPcopy Create free account
hub / github.com/apache/arrow / MakeOptions

Function MakeOptions

cpp/src/arrow/filesystem/azurefs_test.cc:268–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267namespace {
268Result<AzureOptions> MakeOptions(BaseAzureEnv* env) {
269 AzureOptions options;
270 options.account_name = env->account_name();
271 switch (env->backend()) {
272 case AzureBackend::kAzurite:
273 options.blob_storage_authority = "127.0.0.1:10000";
274 options.dfs_storage_authority = "127.0.0.1:10000";
275 options.blob_storage_scheme = "http";
276 options.dfs_storage_scheme = "http";
277 break;
278 case AzureBackend::kAzure:
279 // Use the default values
280 break;
281 }
282 ARROW_EXPECT_OK(options.ConfigureAccountKeyCredential(env->account_key()));
283 return options;
284}
285} // namespace
286
287struct PreexistingData {

Callers 5

TestFromUriAbfsMethod · 0.85
CheckInferredMethod · 0.85
CheckFixedTypeMethod · 0.85
TEST_FFunction · 0.85
CheckAutoDictEncodedMethod · 0.85

Calls 2

backendMethod · 0.80

Tested by

no test coverage detected