[Bug][Vectorized] fix timestamp(datetime) not regist right (#10525)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user