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

Function parseTestQuery

src/Interpreters/tests/gtest_query_plan_execution.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60using namespace DB;
61
62ASTPtr parseTestQuery(const String & query)
63{
64 const char * begin = query.data();
65 const char * end = query.data() + query.size();
66 ParserQuery parser(end);
67 return parseQuery(parser, begin, end, "", 0, 0);
68}
69
70void checkPlan(PlanSegment * lhs, PlanSegment * rhs)
71{

Callers 1

TESTFunction · 0.85

Calls 3

parseQueryFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected