mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Connect code.
This commit is contained in:
parent
bee3c50ecd
commit
a19472ddd5
@ -78,9 +78,9 @@ std::unique_ptr<QueryPlan> createLocalPlan(
|
||||
new_context->setSetting("enable_positional_arguments", Field(false));
|
||||
auto interpreter = InterpreterSelectQueryAnalyzer(query_ast, new_context, select_query_options);
|
||||
// std::cerr << interpreter.getQueryTree()->dumpTree() << std::endl;
|
||||
query_plan = std::make_unique<QueryPlan>(std::move(interpreter).extractQueryPlan());
|
||||
WriteBufferFromOwnString buf;
|
||||
query_plan->explainPlan(buf, {.header=true, .actions=true});
|
||||
// query_plan = std::make_unique<QueryPlan>(std::move(interpreter).extractQueryPlan());
|
||||
// WriteBufferFromOwnString buf;
|
||||
// query_plan->explainPlan(buf, {.header=true, .actions=true});
|
||||
// std::cerr << buf.str() << std::endl;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user