2010YOUY01 commented on issue #27591: URL: https://github.com/apache/datafusion/issues/27591#issuecomment-7125234815
This is a tricky issue. If you're running into problems, I'd suggest disabling this optimization for now. It's particularly difficult to get this optimization right, and adding more heuristics is likely to overfit specific workloads. The likely consequences are: - Increased complexity and maintenance overhead. - Lack of robustness against distribution shifts within a data stream. I think a multi-armed bandit algorithm could be a viable approach, but it would require someone willing to work out the algorithm and sufficiently familiar with DataFusion's aggregation execution to implement it properly. My assessment is that this would be a difficult project with relatively low ROI, and I'd discourage further ad hoc fixes to address this issue. -- 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]
