alamb commented on issue #5646: URL: https://github.com/apache/arrow-datafusion/issues/5646#issuecomment-1796493899
> I wonder, if it would be better / more correct to rely on worth-case scenario for such filters, and simply propagate input statistics Perhaps the filter can simply switch to `Precision::Inexact` when it can't analyze the selectivity for the expression Another thing I have seen in the past is heuristically pick a constant selectivity (assume it filters 1/2 the rows). However I think this leads to non-robust plans (sometimes the plans are good, sometimes they are bad, and it is hard to predict when each is hit) -- 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]
