mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
22 lines
489 B
C++
22 lines
489 B
C++
#include <Functions/arrayPop.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class FunctionArrayPopBack : public FunctionArrayPop
|
|
{
|
|
public:
|
|
static constexpr auto name = "arrayPopBack";
|
|
static FunctionPtr create(const Context &) { return std::make_shared<FunctionArrayPopBack>(); }
|
|
FunctionArrayPopBack() : FunctionArrayPop(false, name) {}
|
|
};
|
|
|
|
void registerFunctionArrayPopBack(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionArrayPopBack>();
|
|
}
|
|
|
|
}
|