ClickHouse/dbms/TableFunctions/TableFunctionInput.h

21 lines
495 B
C++
Raw Normal View History

2019-05-28 18:27:00 +00:00
#pragma once
#include <TableFunctions/ITableFunction.h>
#include <Interpreters/Context.h>
namespace DB
{
/* input(structure) - allows to make INSERT SELECT from incoming stream of data
*/
class TableFunctionInput : public ITableFunction
{
public:
static constexpr auto name = "input";
std::string getName() const override { return name; }
private:
StoragePtr executeImpl(const ASTPtr & ast_function, const Context & context, const std::string & table_name) const override;
2019-05-28 18:27:00 +00:00
};
}