comphead opened a new issue, #15817: URL: https://github.com/apache/datafusion/issues/15817
### Is your feature request related to a problem or challenge? In the test below the suggestion should not be shown ``` > select array_repeat(1, null); Error during planning: Execution error: Function 'array_repeat' user-defined coercion failed with "Execution error: count must be an integer type" No function matches the given name and argument types 'array_repeat(Int64, Null)'. You might need to add explicit type casts. Candidate functions: array_repeat(UserDefined) ``` The error and comment are self explanatory, and having ``` Candidate functions: array_repeat(UserDefined) ``` is confusing ### Describe the solution you'd like Its probably not easy to do, but we need to introduce some error type that defines the function was found but the signature is not correct, in this case we should list a function with a correct signature as a suggestion ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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.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