MCPcopy Create free account
hub / github.com/apache/impala / GetDefaultFsPath

Method GetDefaultFsPath

be/src/runtime/test-env.cc:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149std::string TestEnv::GetDefaultFsPath(const std::string& path) {
150 const char* filesystem_prefix = getenv("FILESYSTEM_PREFIX");
151 if (filesystem_prefix != nullptr && filesystem_prefix[0] != '\0') {
152 return Substitute("$0$1", filesystem_prefix, path);
153 }
154 return Substitute("$0$1", exec_env_->default_fs(), path);
155}
156
157Status TestEnv::CreateQueryState(
158 int64_t query_id, const TQueryOptions* query_options, RuntimeState** runtime_state) {

Callers 4

SetUpMethod · 0.80
TEST_FFunction · 0.80
SetUpMethod · 0.80
SetUpMethod · 0.80

Calls 1

SubstituteFunction · 0.85

Tested by

no test coverage detected