asolimando commented on PR #21815:
URL: https://github.com/apache/datafusion/pull/21815#issuecomment-4709855922

   > Thank you, the implementation is neat! I believe it solves the 
recomputation issue.
   > 
   > I have one idea to improve the API:
   > 
   > Currently, the caching logic is explicitly implemented inside each 
operator’s statistics computation. We could decouple cache management from the 
operator-level statistics propagation, so that the implementation is easier to 
evolve.
   
   Thanks @2010YOUY01, I agree that decoupling the statistics handling from the 
computation is the proper long-term solution, I have filed 
https://github.com/apache/datafusion/issues/22958 to track this issue, I hope I 
have correctly summarized your proposal there


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to