1 | #pragma once |
2 | |
3 | #include <TableFunctions/ITableFunction.h> |
4 | |
5 | namespace DB |
6 | { |
7 | /* values(structure, values...) - creates a temporary storage filling columns with values |
8 | * values is case-insensitive table function |
9 | */ |
10 | class TableFunctionValues : public ITableFunction |
11 | { |
12 | public: |
13 | static constexpr auto name = "values" ; |
14 | std::string getName() const override { return name; } |
15 | private: |
16 | StoragePtr executeImpl(const ASTPtr & ast_function, const Context & context, const std::string & table_name) const override; |
17 | }; |
18 | |
19 | |
20 | } |
21 | |