HappenLee commented on code in PR #18369: URL: https://github.com/apache/doris/pull/18369#discussion_r1156849283
########## be/src/vec/functions/to_time_function.cpp: ########## @@ -107,6 +121,18 @@ void register_function_to_time_function(SimpleFunctionFactory& factory) { factory.register_function<FunctionDateTimeV2Date>(); factory.register_alias("date", "datev2"); factory.register_alias("to_date", "to_datev2"); + + /// @TEMPORARY: for be_exec_version=2 +#define REGISTER_OLD_VERSION(FUNC, FUNC_NAME) \ + factory.register_function<FUNC##Old>(std::string {#FUNC_NAME}.append("_old")); \ Review Comment: why add "_old" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org