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

Method execute

src/Interpreters/InterpreterShowFunctionsQuery.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18BlockIO InterpreterShowFunctionsQuery::execute()
19{
20 auto query_context = Context::createCopy(getContext());
21 query_context->makeQueryContext();
22 query_context->setCurrentQueryId({});
23
24 return executeQuery(getRewrittenQuery(), query_context, QueryFlags{ .internal = true }).second;
25}
26
27String InterpreterShowFunctionsQuery::getRewrittenQuery()
28{

Callers

nothing calls this directly

Calls 4

setCurrentQueryIdMethod · 0.80
executeQueryFunction · 0.70
getContextFunction · 0.50
makeQueryContextMethod · 0.45

Tested by

no test coverage detected