findepi commented on issue #11513:
URL: https://github.com/apache/datafusion/issues/11513#issuecomment-2378756501

   > This proposal is compatible with (and actually depends on) the decoupling 
logical from physical types but I think it's a further step ahead to consider 
once we at least clear the initial steps to take in order to make LogicalTypes 
happen.
   > 
   > Additionally I think it should be filed as a separate, but related, 
ticket. I understand that it heavily depends and influences the choices of this 
proposal but judging by the comments above I think there needs to be a separate 
discussion in order to validate the idea on its own.
   
   
   I don't mind creating new ticket if needed. I created 
https://github.com/apache/datafusion/issues/12644 to track Extension Types 
which -- although mentioned already in this issue -- feel like even a higher 
goal to achieve.
   
   I am not convinced, however, that we should separate these discussions: "use 
new DataFusion types in logical plans" and "use new DataFusion types in 
physical plans as well". They feel very related and both impact the type system 
design. I don't want to paint ourselves into a corner just because we narrowed 
the horizon. 
   
   Using logical types for _all of the planning_ (including physical planning) 
is very important for performance -- see @andygrove 's Comet comment 
https://github.com/apache/datafusion/issues/11513#issuecomment-2370933596 but 
obviously this is not Comet-only thing.  As with any performance improvement, 
it may be impossible not to regress some specialized cases along the way. There 
is not point in breaking something for the sake of breaking. Just that if we 
allow only incremental improvements, we achieve local optimum only.
   
   
   


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

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


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

Reply via email to