andygrove opened a new issue, #12464: URL: https://github.com/apache/datafusion/issues/12464
### Describe the bug I am working on a small prototype that uses DataFusion and I have a query failing with: ``` thread 'test_tpch_q1' panicked at /home/andy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/datafusion-sql-41.0.0/src/expr/function.rs:79:10: No candidates provided. ``` This happens in `suggest_valid_function` when no suggestions are found. It is likely because I have an error with my context setup but it look like it should be trival to use an `Err` instead of a panic here, which would be better DX for others building new things on DataFusion. ### To Reproduce _No response_ ### Expected behavior _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: [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]
