Weijun-H commented on code in PR #8622: URL: https://github.com/apache/arrow-datafusion/pull/8622#discussion_r1437008396
########## datafusion/physical-expr/src/array_expressions.rs: ########## @@ -883,6 +899,10 @@ pub fn array_append(args: &[ArrayRef]) -> Result<ArrayRef> { /// Array_sort SQL function pub fn array_sort(args: &[ArrayRef]) -> Result<ArrayRef> { + if args.is_empty() || args.len() > 3 { Review Comment: Sorry for the late reply. I agree with the message that more specific information would be better. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org