You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "findepi (via GitHub)" <gi...@apache.org> on 2024/09/03 11:13:29 UTC

Re: [I] Arrays of non-coercible types are coercible [datafusion]

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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org