ClickHouse/src/Functions/toStartOfFiveMinutes.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
474 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
#include <Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h>
namespace DB
{
using FunctionToStartOfFiveMinutes = FunctionDateOrDateTimeToDateTimeOrDateTime64<ToStartOfFiveMinutesImpl>;
REGISTER_FUNCTION(ToStartOfFiveMinutes)
{
factory.registerFunction<FunctionToStartOfFiveMinutes>();
2022-04-22 03:27:24 +00:00
factory.registerAlias("toStartOfFiveMinute", FunctionToStartOfFiveMinutes::name);
}
}