Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature](functions) support add_months on vectorized engine #11518

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ void register_function_date_time_computation(SimpleFunctionFactory& factory) {
factory.register_function<FunctionAddMinutesV2>();
factory.register_function<FunctionAddHoursV2>();
factory.register_function<FunctionAddDaysV2>();
factory.register_alias("days_add", "date_add");
factory.register_alias("days_add", "adddate");
factory.register_function<FunctionAddWeeks>();
factory.register_function<FunctionAddMonths>();
factory.register_function<FunctionAddYears>();
Expand Down Expand Up @@ -345,6 +343,11 @@ void register_function_date_time_computation(SimpleFunctionFactory& factory) {
factory.register_function<FunctionCurTime>();
factory.register_function<FunctionCurrentTime>();
factory.register_function<FunctionUtcTimeStamp>();

// alias
factory.register_alias("days_add", "date_add");
factory.register_alias("days_add", "adddate");
factory.register_alias("months_add", "add_months");
}

} // namespace doris::vectorized