jayzhan211 commented on code in PR #8622:
URL: https://github.com/apache/arrow-datafusion/pull/8622#discussion_r1435408799


##########
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:
   Does that mean we need to check every kind of input in all the array 
function here?



-- 
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

Reply via email to