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