We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d83703 commit e0371cdCopy full SHA for e0371cd
1 file changed
cpp-ch/local-engine/Common/CHUtil.cpp
@@ -790,6 +790,8 @@ void BackendInitializerUtil::initContexts(DB::Context::ConfigurationPtr config)
790
tmp_path = std::string(buffer) + tmp_path;
791
};
792
793
+ if (!fs::exists(tmp_path))
794
+ fs::create_directories(tmp_path);
795
global_context->setTemporaryStoragePath(tmp_path, 0);
796
global_context->setPath(config->getString("path", "/"));
797
0 commit comments