mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
4088c0a7f3
Automated register all functions with below naming convention by iterating through the symbols: void DB::registerXXX(DB::FunctionFactory &)
23 lines
476 B
C++
23 lines
476 B
C++
#include "arrayEnumerateExtended.h"
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
|
|
class FunctionArrayEnumerateDense : public FunctionArrayEnumerateExtended<FunctionArrayEnumerateDense>
|
|
{
|
|
using Base = FunctionArrayEnumerateExtended<FunctionArrayEnumerateDense>;
|
|
public:
|
|
static constexpr auto name = "arrayEnumerateDense";
|
|
using Base::create;
|
|
};
|
|
|
|
REGISTER_FUNCTION(ArrayEnumerateDense)
|
|
{
|
|
factory.registerFunction<FunctionArrayEnumerateDense>();
|
|
}
|
|
|
|
}
|