Omega359 commented on issue #19120: URL: https://github.com/apache/datafusion/issues/19120#issuecomment-3620487836
Normally you would be correct however in this case you are not and it's because of the signature of the function `signature: Signature::variadic_any(Volatility::Immutable),`. The function accepts all types essentially and directly handles each type. You can see this yourself with a quick test: ```sql $ datafusion-cli DataFusion CLI v50.3.0 > select to_date(arrow_cast(22222, 'UInt32')); Execution error: Unsupported data type UInt32 for function to_date ``` That error message comes from the function itself. -- 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]
