andygrove opened a new issue, #3864:
URL: https://github.com/apache/arrow-datafusion/issues/3864

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   I have a query that looks like this after optimization:
   
   ```
   Union 
     Projection
       ...
     Projection
       Filter: Boolean(false)
         Aggregate
           Inner Join
             Inner Join
   ```        
   
   **Describe the solution you'd like**
   Remove everything under the `Filter` that is always false and replace with 
`EmptyRelation` so that we avoid executing the join and aggregate.
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features 
you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
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]

Reply via email to