ClickHouse/src/Interpreters/InterpreterCheckQuery.h
2023-10-27 15:22:10 +00:00

26 lines
430 B
C++

#pragma once
#include <Core/Block.h>
#include <Interpreters/IInterpreter.h>
#include <Parsers/IAST_fwd.h>
namespace DB
{
class Cluster;
class InterpreterCheckQuery : public IInterpreter, WithContext
{
public:
InterpreterCheckQuery(const ASTPtr & query_ptr_, ContextPtr context_);
BlockIO execute() override;
private:
ASTPtr query_ptr;
Poco::Logger * log = &Poco::Logger::get("InterpreterCheckQuery");
};
}