alamb opened a new issue, #7935:
URL: https://github.com/apache/arrow-datafusion/issues/7935

   ### Is your feature request related to a problem or challenge?
   
   Inspired by PR https://github.com/apache/arrow-datafusion/pull/7745, the 
repartition input code as it is now is both a bit messy (needs a `#cfg`) but 
also only works for Parqeuet and CSV, where the code is general for any 
ExecutionPlan.
   
   
https://github.com/apache/arrow-datafusion/blob/0911f1523ec7088bae88684ecb9bca94aa553693/datafusion/core/src/physical_optimizer/enforce_distribution.rs#L1270-L1288
   
   ### Describe the solution you'd like
   
   I would like the code to a trait on ExecutionPlan, which also allows other 
(user defined) table sources to benefit from this optimization then implement 
it for Parquet and CSV
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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