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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]