Omega359 commented on PR #13404: URL: https://github.com/apache/datafusion/pull/13404#issuecomment-2501784223
The regression I think was in 42.1.0 actually. I just built 42 off the tag and ran it in docker: ```sql root@f93d03a93bc1:/apache_datafusion# docker run --rm -it datafusion-cli_42 DataFusion CLI v42.2.0 > select ascii(42); +------------------+ | ascii(Int64(42)) | +------------------+ | 52 | +------------------+ 1 row(s) fetched. Elapsed 0.001 seconds. ``` The slt test I just added in main: ``` External error: query failed: DataFusion error: Error during planning: Error during planning: The signature expected NativeType::String but received NativeType::Int64 No function matches the given name and argument types 'ascii(Int64)'. You might need to add explicit type casts. Candidate functions: ascii(String(1)) [SQL] SELECT ascii(2) at test_files/expr.slt:322 ``` I suspect any function switched in #12751 will no longer work with any type coercion. -- 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