ClickHouse/src/Functions/subtractHours.cpp

19 lines
329 B
C++
Raw Normal View History

2021-05-17 07:30:42 +00:00
#include <Functions/IFunction.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionSubtractHours = FunctionDateOrDateTimeAddInterval<SubtractHoursImpl>;
REGISTER_FUNCTION(SubtractHours)
{
factory.registerFunction<FunctionSubtractHours>();
}
}