tustvold opened a new issue, #4020: URL: https://github.com/apache/arrow-datafusion/issues/4020
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] (This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*) Not sure if this is a bug of a feature request but running the query contained in #4005 pushes down a somewhat unexpected predicate ``` explain select * from foo where container = 'backend_container_0' OR pod = 'aqcathnxqsphdhgjtgvxsfyiwbmhlmg'; ... | | ParquetExec: limit=None, partitions=[home/raphael/Downloads/data.parquet], predicate=container_min@0 <= backend_container_0 AND backend_container_0 <= container_max@1 OR pod_min@2 <= aqcathnxqsphdhgjtgvxsfyiwbmhlmg AND aqcathnxqsphdhgjtgvxsfyiwbmhlmg <= pod_max@3, projection=[service, host, pod, container, image, time, client_addr, request_duration_ns, request_user_agent, request_method, request_host, request_bytes, response_bytes, response_status] | ``` In particular the equality predicates appear to be being split into a `<=` and a `>=`, effectively doubling the work to evaluate them. **Describe the solution you'd like** I would expect the minimal set of predicates to be pushed down **Describe alternatives you've considered** **Additional context** FYI @alamb -- 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]
