amorynan commented on code in PR #21201: URL: https://github.com/apache/doris/pull/21201#discussion_r1243189545
########## fe/fe-core/src/main/java/org/apache/doris/catalog/FunctionSet.java: ########## @@ -1348,6 +1348,38 @@ private void initAggregateBuiltins() { addBuiltin( AggregateFunction.createBuiltin(GROUP_ARRAY, Lists.newArrayList(t, Type.INT), new ArrayType(t), t, "", "", "", "", "", true, false, true, true)); + + //first_value/last_value for array + addBuiltin(AggregateFunction.createAnalyticBuiltin("first_value", + Lists.newArrayList(new ArrayType(t)), new ArrayType(t), Type.ARRAY, + "", + "", + null, + "", + "")); Review Comment: done! -- 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