mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
23 lines
340 B
C++
23 lines
340 B
C++
#pragma once
|
|
|
|
#include <DB/Interpreters/Context.h>
|
|
#include <DB/Parsers/ASTIdentifier.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class InterpreterCheckQuery
|
|
{
|
|
public:
|
|
InterpreterCheckQuery(ASTPtr query_ptr_, Context & context_);
|
|
BlockInputStreamPtr execute();
|
|
DB::Block getSampleBlock();
|
|
|
|
private:
|
|
ASTPtr query_ptr;
|
|
Context context;
|
|
DB::Block result;
|
|
};
|
|
|
|
}
|