1#pragma once
2
3#include <Core/Block.h>
4#include <Interpreters/IInterpreter.h>
5#include <Parsers/IAST_fwd.h>
6
7namespace DB
8{
9
10class Context;
11class Cluster;
12
13class InterpreterCheckQuery : public IInterpreter
14{
15public:
16 InterpreterCheckQuery(const ASTPtr & query_ptr_, const Context & context_);
17
18 BlockIO execute() override;
19
20private:
21 ASTPtr query_ptr;
22
23 const Context & context;
24};
25
26}
27