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 NameNotEmpty
11{
12 static constexpr auto name = "notEmpty";
13};
14using FunctionNotEmpty = FunctionStringOrArrayToT<EmptyImpl<true>, NameNotEmpty, UInt8>;
15
16void registerFunctionNotEmpty(FunctionFactory & factory)
17{
18 factory.registerFunction<FunctionNotEmpty>();
19}
20
21}
22