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

Method generate

src/Processors/Transforms/CreatingSetsTransform.cpp:234–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234Chunk CreatingSetsTransform::generate()
235{
236 if (set_and_key->set && !set_from_cache)
237 {
238 set_and_key->set->finishInsert();
239 if (promise_to_build)
240 {
241 promise_to_build->set_value(set_and_key->set);
242 promise_to_build.reset();
243 }
244 }
245
246 if (table_out.initialized())
247 {
248 executor->finish();
249 executor.reset();
250 table_out.reset();
251 }
252
253 finishSubquery();
254 return {};
255}
256
257}

Callers

nothing calls this directly

Calls 5

set_valueMethod · 0.80
finishInsertMethod · 0.45
resetMethod · 0.45
initializedMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected