mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-30 05:30:51 +00:00
Refactor some code.
This commit is contained in:
parent
5b1596cdb2
commit
ff47f83034
@ -225,7 +225,7 @@ BlockInputStreamPtr InterpreterExplainQuery::executeImpl()
|
||||
if (ast.getSettings())
|
||||
throw Exception("Settings are not supported for EXPLAIN AST query.", ErrorCodes::UNKNOWN_SETTING);
|
||||
|
||||
dumpAST(ast, ss);
|
||||
dumpAST(*ast.getExplainedQuery(), ss);
|
||||
}
|
||||
else if (ast.getKind() == ASTExplainQuery::AnalyzedSyntax)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user