ClickHouse/dbms/src/Functions/arrayPopBack.cpp
2018-09-10 00:15:40 +03:00

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>();
}
}