niebayes opened a new issue, #13979:
URL: https://github.com/apache/datafusion/issues/13979
### Describe the bug
```
> select version();
+-------------------------------------------+
| version() |
+-------------------------------------------+
| Apache DataFusion 43.0.0, x86_64 on linux |
+-------------------------------------------+
1 row(s) fetched.
Elapsed 0.002 seconds.
> select version(1);
Error during planning: Error during planning: Coercion from [Int64] to the
signature Exact([]) failed. No function matches the given name and argument
types 'version(Int64)'. You might need to add explicit type casts.
Candidate functions:
version()
```
As seen in the above, the `Error during planning` was displayed twice.
### To Reproduce
`cargo install datafusion-cli` to install the latest version of
datafusion-cli, and execute `select version(1)`.
### Expected behavior
The error prefix `Error during planning` gets displayed only once.
### 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]