MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / finishSettings

Function finishSettings

src/Client/BuzzHouse/Generator/QueryOracle.cpp:20–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 = {{OutFormat::OUT_CSV}, {OutFormat::OUT_TabSeparated}, {OutFormat::OUT_Values}};
19
20static void finishSettings(SettingValues * svs)
21{
22 /// Wait for mutations to finish
23 static const std::unordered_map<String, String> toSet
24 = {{"alter_sync", "2"},
25 {"apply_deleted_mask", "1"},
26 {"apply_patch_parts", "1"},
27 {"lightweight_deletes_sync", "2"},
28 {"mutations_sync", "2"}};
29 for (const auto & [key, val] : toSet)
30 {
31 SetValue * sv = svs->has_set_value() ? svs->add_other_values() : svs->mutable_set_value();
32
33 sv->set_property(key);
34 sv->set_value(val);
35 }
36}
37
38void QueryOracle::reattachSteps(
39 RandomGenerator & rg,

Calls 1

set_valueMethod · 0.80

Tested by

no test coverage detected