MCPcopy Create free account
hub / github.com/ByConity/ByConity / formatRewrittenQuery

Method formatRewrittenQuery

src/Interpreters/DDLTask.cpp:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void DDLTaskBase::formatRewrittenQuery(ContextPtr context)
174{
175 /// Convert rewritten AST back to string.
176 query_str = queryToString(*query);
177 query_for_logging = query->formatForLogging(context->getSettingsRef().log_queries_cut_to_length);
178}
179
180ContextMutablePtr DDLTaskBase::makeQueryContext(ContextPtr from_context, const ZooKeeperPtr & /*zookeeper*/)
181{

Callers 1

initAndCheckTaskMethod · 0.80

Calls 2

queryToStringFunction · 0.85
formatForLoggingMethod · 0.80

Tested by

no test coverage detected