mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 20:32:43 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
21 lines
518 B
C++
21 lines
518 B
C++
#pragma once
|
|
|
|
#include <TableFunctions/ITableFunction.h>
|
|
|
|
namespace DB
|
|
{
|
|
/* values(structure, values...) - creates a temporary storage filling columns with values
|
|
* values is case-insensitive table function
|
|
*/
|
|
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;
|
|
};
|
|
|
|
|
|
}
|