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

Function MakeOptions

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

Source from the content-addressed store, hash-verified

94
95namespace {
96Result<AzureOptions> MakeOptions(BaseAzureEnv* env) {
97 AzureOptions options;
98 options.account_name = env->account_name();
99 switch (env->backend()) {
100 case AzureBackend::kAzurite:
101 options.blob_storage_authority = "127.0.0.1:10000";
102 options.dfs_storage_authority = "127.0.0.1:10000";
103 options.blob_storage_scheme = "http";
104 options.dfs_storage_scheme = "http";
105 break;
106 case AzureBackend::kAzure:
107 // Use the default values
108 break;
109 }
110 ARROW_EXPECT_OK(options.ConfigureAccountKeyCredential(env->account_key()));
111 return options;
112}
113} // namespace
114
115template <class AzureEnvClass>

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