blob: 3ceb6f94df744c94a4e2a485e96721e7da185ff6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
#include <Functions/FunctionDateOrDateTimeToSomething.h>
namespace DB
{
using FunctionToStartOfSecond = FunctionDateOrDateTimeToSomething<DataTypeDateTime64, ToStartOfSecondImpl>;
REGISTER_FUNCTION(ToStartOfSecond)
{
factory.registerFunction<FunctionToStartOfSecond>();
}
}
|