ClickHouse/src/Storages/SelectQueryInfo.cpp
Nikolai Kochetov 9db7e8ed62 Fixing build.
2023-05-23 20:47:35 +00:00

17 lines
312 B
C++

#include <Storages/SelectQueryInfo.h>
#include <Parsers/ASTSelectQuery.h>
namespace DB
{
bool SelectQueryInfo::isFinal() const
{
if (table_expression_modifiers)
return table_expression_modifiers->hasFinal();
const auto & select = query->as<ASTSelectQuery &>();
return select.final();
}
}