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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
