alamb commented on issue #1014:
URL: 
https://github.com/apache/arrow-datafusion/issues/1014#issuecomment-921937062


   > For the CSE use case, it would be nice if we can compare and arrange Exprs 
in some kinds of order. By doing that we can recognize a+b and b+a are the same 
expression. And I think it can help other things too.
   
   That is a good point @waynexia  -- I think one common approach is typically 
called "normalization" (aka rewrite all expressions so logically equivalent 
expressions like `a+b` and `b+a` end up with the same actual `Expr` form. 


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