dataroaring commented on code in PR #13056: URL: https://github.com/apache/doris/pull/13056#discussion_r984176811
########## be/src/exprs/aggregate_functions.h: ########## @@ -372,6 +372,14 @@ class AggregateFunctions { static StringVal window_funnel_serialize(FunctionContext* ctx, const StringVal& src); static IntVal window_funnel_finalize(FunctionContext* ctx, const StringVal& src); + // retention + static void retention_init(FunctionContext* ctx, StringVal* dst); + static void retention_update(FunctionContext* ctx, int num_cond, const BooleanVal* conds, + StringVal* dst); + static void retention_merge(FunctionContext* ctx, const StringVal& src, StringVal* dst); + static StringVal retention_serialize(FunctionContext* ctx, const StringVal& src); + static BooleanVal* retention_finslize(FunctionContext* ctx, const StringVal& src); + // todo(kks): keep following HLL methods only for backward compatibility, we should remove these methods Review Comment: We should add it in vectorized engine too. -- 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