You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mingmwang (via GitHub)" <gi...@apache.org> on 2023/04/03 14:30:38 UTC

[GitHub] [arrow-datafusion] mingmwang commented on issue #5830: Simplify predicate expressions like 'a > 1 and a < 1' to constant false

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

   > A related idea: May we need a easy-to-use expression rewriting framework to add some rule to rewrite expression?
   > 
   > like Apache Doris : https://github.com/apache/doris/tree/master/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rewrite
   > 
   > this issue is resolved by a rule: https://github.com/apache/doris/blob/master/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rewrite/rules/SimplifyRange.java
   > 
   > cc @mingmwang @alamb
   
   @jackwener 
   I think we already have enough rewriting utils for exprs to implement such rules.


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