adriangb commented on issue #19098: URL: https://github.com/apache/datafusion/issues/19098#issuecomment-3622274180
The issue I've run into is that when a limit is applied we need to scale the scan size. But if the scan size depends on the column sizes that means we need to either: 1) Update each `ColumnStatistics` w/ a scaled total size 2) Calculate the total size dynamically 3) Keep track of the original number of rows vs. current. Sadly I think (1) is the least likely to lead to bugs / incorrect behavior. -- 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]
