HappenLee commented on code in PR #15339: URL: https://github.com/apache/doris/pull/15339#discussion_r1111446544
########## docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect_list.md: ########## @@ -30,9 +30,8 @@ under the License. `ARRAY<T> collect_list(expr)` -Returns an array consisting of all values in expr within the group. -The order of elements in the array is non-deterministic. NULL values are excluded. - +Returns an array consisting of all values in expr within the group, and ,with the optional `max_size` parameter limits the size of the resulting array to `max_size` elements.The order of elements in the array is non-deterministic. NULL values are excluded. +It has an alias `group_array`. Review Comment: if you have more replica in different BE,the result will be not same. so you must add stable case in regression test in any env. just `length(arry)` to make sure res is stable -- 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]
