jayzhan211 commented on code in PR #10804:
URL: https://github.com/apache/datafusion/pull/10804#discussion_r1627891177


##########
datafusion/sqllogictest/test_files/array.slt:
##########
@@ -1974,6 +1978,10 @@ select array_slice(a, -1, 2, 1), array_slice(a, -1, 2),
 [] [] [] []
 [6.0] [6.0] [] []
 
+# Testing with empty arguments should result in an error
+query error DataFusion error: Error during planning: Error during planning: 
\[data_types_with_scalar_udf\] signature VariadicAny does not support zero 
arguments.

Review Comment:
   It is handled by signature! 



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

Reply via email to