diff --git a/cpp/velox/compute/VeloxRuntime.cc b/cpp/velox/compute/VeloxRuntime.cc index f8f2a527c259..b4ae5b519a4b 100644 --- a/cpp/velox/compute/VeloxRuntime.cc +++ b/cpp/velox/compute/VeloxRuntime.cc @@ -220,8 +220,11 @@ std::unique_ptr VeloxRuntime::createColumnarBatchSerial void VeloxRuntime::dumpConf(const std::string& path) { auto backendConf = VeloxBackend::get()->getBackendConf(); auto allConf = backendConf; - allConf.merge(confMap_); - + + for (const auto& pair : confMap_) { + allConf.insert_or_assign(pair.first, pair.second); + } + // Open file "velox.conf" for writing, automatically creating it if it doesn't exist, // or overwriting it if it does. std::ofstream outFile(path);