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

Method updateTreeHashImpl

src/Analyzer/UnionNode.cpp:238–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void UnionNode::updateTreeHashImpl(HashState & state, CompareOptions) const
239{
240 state.update(is_subquery);
241 state.update(is_cte);
242 state.update(is_materialized);
243 state.update(is_recursive_cte);
244
245 if (recursive_cte_table)
246 {
247 auto full_name = recursive_cte_table->getStorageID().getFullNameNotQuoted();
248 state.update(full_name.size());
249 state.update(full_name);
250 }
251
252 state.update(cte_name.size());
253 state.update(cte_name);
254
255 state.update(static_cast<size_t>(union_mode));
256}
257
258QueryTreeNodePtr UnionNode::cloneImpl() const
259{

Callers

nothing calls this directly

Calls 4

getFullNameNotQuotedMethod · 0.80
updateMethod · 0.45
getStorageIDMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected