herry2038 opened a new issue, #18266: URL: https://github.com/apache/doris/issues/18266
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description Support arrayLast(func, arr1) High-order function, which Returns the last element in the arr1 array for which func(arr1[i]...) returns something other than 0. You must pass a lambda function to it as the first argument, and it can’t be omitted. The lambda function must have UInt8 output type. ### Use case select arrayLast((a)->(a > 3), [0,1,2,3,4,5,6,7,8,9,1]) as last_element with result: 9 ### Related issues _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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.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