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