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 1e997f8 commit d94e757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/velox/compute/VeloxRuntime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ std::unique_ptr<ColumnarBatchSerializer> VeloxRuntime::createColumnarBatchSerial
void VeloxRuntime::dumpConf(const std::string& path) {
auto backendConf = VeloxBackend::get()->getBackendConf();
auto allConf = backendConf;

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 d94e757

Please sign in to comment.