ClickHouse/dbms/TableFunctions/TableFunctionValues.h

21 lines
518 B
C++
Raw Normal View History

2019-07-29 13:50:13 +00:00
#pragma once
#include <TableFunctions/ITableFunction.h>
namespace DB
{
2019-07-31 14:12:05 +00:00
/* values(structure, values...) - creates a temporary storage filling columns with values
* values is case-insensitive table function
*/
2019-07-29 13:50:13 +00:00
class TableFunctionValues : public ITableFunction
{
public:
static constexpr auto name = "values";
std::string getName() const override { return name; }
private:
StoragePtr executeImpl(const ASTPtr & ast_function, const Context & context, const std::string & table_name) const override;
};
}