mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
23 lines
368 B
C++
23 lines
368 B
C++
#pragma once
|
|
|
|
#include <DB/Interpreters/Context.h>
|
|
#include <DB/Interpreters/IInterpreter.h>
|
|
#include <DB/Parsers/ASTIdentifier.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class InterpreterCheckQuery : public IInterpreter
|
|
{
|
|
public:
|
|
InterpreterCheckQuery(ASTPtr query_ptr_, Context & context_);
|
|
BlockIO execute() override;
|
|
|
|
private:
|
|
ASTPtr query_ptr;
|
|
Context context;
|
|
Block result;
|
|
};
|
|
|
|
}
|