ClickHouse/src/Functions/timeSlot.cpp

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

21 lines
412 B
C++
Raw Normal View History

2021-05-17 07:30:42 +00:00
#include <Functions/IFunction.h>
#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
2022-09-22 09:19:22 +00:00
#include <Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h>
#include <DataTypes/DataTypesNumber.h>
namespace DB
{
2022-09-22 09:19:22 +00:00
using FunctionTimeSlot = FunctionDateOrDateTimeToDateTimeOrDateTime64<TimeSlotImpl>;
REGISTER_FUNCTION(TimeSlot)
{
factory.registerFunction<FunctionTimeSlot>();
}
}