alamb commented on issue #7063:
URL: https://github.com/apache/arrow-rs/issues/7063#issuecomment-2792321244

   > I'm not familiar with the precise problem being discussed here, but I'm 
guessing DF is relying on DataType instead of propogating Field/Schema. Such an 
approach is inherently flawed, as not only does it discard metadata, but also 
things like nullability, etc... I'm a little surprised if this is the case, as 
DF at least used to fairly aggressively make use of Schema, etc... but perhaps 
things have changed since I was very involved...
   
   
   Yes, there are quite a few APIs in DataFusion that use DataType and not 
Field (for example the type coercion logic). If we were starting again today 
they would all probably be in terms of Field. On the other hand I don't see 
huge problems in making it easier to use extension types downstream by making 
changes to arrow-rs
   
   @paleolimbot what do you think about filing a ticket in DataFusion like 
"Better extension type support" where we can start listing the APIs that would 
need to be updated to Field instead of DataType? 


-- 
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...@arrow.apache.org

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

Reply via email to