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