[Bug][Vectorized] fix timestamp(datetime) not regist right (#10525)

This commit is contained in:
Pxl
2022-07-01 07:37:44 +08:00
committed by GitHub
parent aab7dc956f
commit 7571263ed7
3 changed files with 5 additions and 9 deletions

View File

@ -68,8 +68,6 @@ using FunctionDate =
using FunctionDateV2 =
FunctionDateOrDateTimeToSomething<DataTypeDateV2, DateImpl<DateV2Value, UInt32>>;
using FunctionTimeStamp = FunctionDateOrDateTimeToSomething<DataTypeDateTime, TimeStampImpl<Int64>>;
using FunctionTimeStampV2 =
FunctionDateOrDateTimeToSomething<DataTypeDateV2, TimeStampImpl<UInt32>>;
void register_function_to_time_function(SimpleFunctionFactory& factory) {
factory.register_function<FunctionSecond>();
@ -95,7 +93,6 @@ void register_function_to_time_function(SimpleFunctionFactory& factory) {
factory.register_function<FunctionToDaysV2>();
factory.register_function<FunctionToDateV2>();
factory.register_function<FunctionDateV2>();
factory.register_function<FunctionTimeStampV2>();
}
} // namespace doris::vectorized