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