findepi commented on issue #12291: URL: https://github.com/apache/datafusion/issues/12291#issuecomment-2326256269
Quoting @jayzhan211 https://github.com/apache/datafusion/issues/12292#issuecomment-2324827013 > We should return error since integer is not able to cast to timestamp and vice versa > > ``` > D SELECT DISTINCT x[0] FROM (SELECT [now()] x UNION ALL SELECT [2] x); > Conversion Error: Unimplemented type for cast (INTEGER -> TIMESTAMP WITH TIME ZONE) > LINE 1: ...OM (SELECT [now()] x UNION ALL SELECT [2] x); > ``` -- 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]
