fix build error

This commit is contained in:
Peng Jian 2021-07-10 19:22:40 +08:00
parent 24f0c738df
commit a7c4aa2497

View File

@ -342,7 +342,7 @@ BlockInputStreamPtr InterpreterExplainQuery::executeImpl()
QueryPlan plan;
// It should output the result even the format is Null, for example EXPLAIN ESTIMATES select * from x format Null;
if (ast.format && ast.foramt->getColumnName() == "Null")
if (ast.format && ast.format->getColumnName() == "Null")
{
ast.format = nullptr;
}