tschwarzinger opened a new pull request, #23670: URL: https://github.com/apache/datafusion/pull/23670
## Which issue does this PR close? Minor fix I stumbled across. There is no issue (I can create one if this warrants discussion). ## Rationale for this change If the file scan is guaranteed to have no results (`num_rows == Precision::Exact(0)`), filtering them does not change the result. It will be zero anyway. ## What changes are included in this PR? Only change `Exact` -> `Inexact` if there are non-zero rows ## Are these changes tested? Yes. ## Are there any user-facing changes? It can happen that the optimizer can now better optimize the query plans (which we are looking forward to). -- 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]
