kmitchener commented on issue #3325:
URL: 
https://github.com/apache/arrow-datafusion/issues/3325#issuecomment-1234423434

   @liukun4515 Yes, I'd like to be able to cast() from SQL to these datatypes 
that are supported by DataFusion functions. Primarily for testing or evaluating 
behavior or for examples in documentation. Or to load directly from CSV into 
the unsigned form that Arrow supports (again for testing functions that support 
those types).
   
   Seems DataFusion is used a lot for parquet files -- wouldn't it make sense 
that if you can select sum(unsigned int), that you could also cast to it?
   
   I fully understand and support that we are trying to mirror PG syntax. But I 
don't think that should prevent us from supporting a superset of data types 
that PG doesn't. Especially when the support already exists in Arrow and 
DataFusion functions and we just need this thin shim to extend the support to 
SQL.
   


-- 
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]

Reply via email to