niebayes opened a new pull request, #14056: URL: https://github.com/apache/datafusion/pull/14056
## Which issue does this PR close? No ## Rationale for this change <!-- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. --> The error message of the `function_length_check` is incorrect. ## What changes are included in this PR? Place the `expected_length` and `length` at where they should be. ## Are these changes tested? Yes, added a simple unit test. ## Are there any user-facing changes? Yes, users will see correct error message when given unexpected number of args. <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- 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