1#include <DataTypes/DataTypeString.h>
2#include <Functions/FunctionFactory.h>
3#include <Functions/FunctionStringOrArrayToT.h>
4#include <Functions/EmptyImpl.h>
5
6
7namespace DB
8{
9
10struct NameEmpty
11{
12 static constexpr auto name = "empty";
13};
14using FunctionEmpty = FunctionStringOrArrayToT<EmptyImpl<false>, NameEmpty, UInt8>;
15
16void registerFunctionEmpty(FunctionFactory & factory)
17{
18 factory.registerFunction<FunctionEmpty>();
19}
20
21}
22
23