ClickHouse/src/Storages/SelectQueryInfo.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
312 B
C++
Raw Normal View History

2023-05-23 20:47:35 +00:00
#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();
}
}