koarz commented on code in PR #45159: URL: https://github.com/apache/doris/pull/45159#discussion_r1881349445
########## be/src/vec/functions/function.h: ########## @@ -299,6 +299,10 @@ class FunctionBuilderImpl : public IFunctionBuilder { ColumnNumbers get_arguments_that_are_always_constant() const override { return {}; } + // if a function's get_variadic_argument_types() not override and get_return_type_impl() + // result is not compile time be sure, the function should override return true + virtual bool dont_append_return_type_name_when_register_function() { return false; } Review Comment: the `register_function()` arg `Creator& ptr` is a FunctionBuilder so cant impl it in IFunctionBase it move to IFunctionBuilder -- 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