You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/18 03:01:53 UTC

[GitHub] [arrow-datafusion] mingmwang commented on issue #3864: Replace `Filter: Boolean(false)` with `EmptyRelation`

mingmwang commented on issue #3864:
URL: https://github.com/apache/arrow-datafusion/issues/3864#issuecomment-1281750736

   We can have two general rules: `FoldFilters` and `EmptyRelationPropagation`.
   `FoldFilters` can remove the filters which can be evaluated trivially. If `Filter` condition is alway false,  replace it with an `EmptyRelation`
   
   `EmptyRelationPropagation` can propagate the empty relation up to the tree, for example, inner join with `EmptyRelation` can return `EmptyRelation`.
   
   
   
   
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org