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

Method parseQueryFromEntry

src/Interpreters/DDLTask.cpp:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163void DDLTaskBase::parseQueryFromEntry(ContextPtr context)
164{
165 const char * begin = entry.query.data();
166 const char * end = begin + entry.query.size();
167
168 ParserQuery parser_query(end, ParserSettings::valueOf(context->getSettingsRef()));
169 String description;
170 query = parseQuery(parser_query, begin, end, description, 0, context->getSettingsRef().max_parser_depth);
171}
172
173void DDLTaskBase::formatRewrittenQuery(ContextPtr context)
174{

Callers 3

initAndCheckTaskMethod · 0.80
initAndCheckTaskMethod · 0.80

Calls 6

parseQueryFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45
getMethod · 0.45
emptyMethod · 0.45
getDatabaseNameMethod · 0.45

Tested by

no test coverage detected