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


##########
datafusion/sqllogictest/test_files/array.slt:
##########
@@ -1137,7 +1137,7 @@ from arrays_values_without_nulls;
 ## array_element (aliases: array_extract, list_extract, list_element)
 
 # Testing with empty arguments should result in an error
-query error DataFusion error: Error during planning: Error during planning: 
array_element does not support zero arguments.
+query error DataFusion error: Execution error: expect 2 args, got 0

Review Comment:
   `schema_name` for udf is introduced. Error is also captured ealier



##########
datafusion/sqllogictest/test_files/array.slt:
##########
@@ -1137,7 +1137,7 @@ from arrays_values_without_nulls;
 ## array_element (aliases: array_extract, list_extract, list_element)
 
 # Testing with empty arguments should result in an error
-query error DataFusion error: Error during planning: Error during planning: 
array_element does not support zero arguments.
+query error DataFusion error: Execution error: expect 2 args, got 0

Review Comment:
   `schema_name` for udf is introduced. Error is also captured earlier



-- 
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...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to