mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
17 lines
312 B
C++
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();
|
|
}
|
|
|
|
}
|