Skip to content

Commit

Permalink
Update VeloxRuntime.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixYBW authored Mar 20, 2024
1 parent e1f0c01 commit 1e997f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cpp/velox/compute/VeloxRuntime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,11 @@ std::unique_ptr<ColumnarBatchSerializer> 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);
Expand Down

0 comments on commit 1e997f8

Please sign in to comment.