alamb commented on issue #1160:
URL:
https://github.com/apache/arrow-datafusion/issues/1160#issuecomment-1989147640
> Given the age of these discussions, I am wondering if any of the context
or recommended approaches may have changed. @alamb any new thoughts on this?
I think algorithms for such order dependent simplifications look something
like:
```
do {
expr = simplify(expr)
} until expr is unchanged OR some fixed number of iterations is reached
```
Perhaps we can use the API that @peter-toth added in
https://github.com/apache/arrow-datafusion/pull/8891 to check if/when the expr
is unchanged.
The rewrite API for a long time did not have a way to know when the
expression was actually rewritten (and thus when to terminate the iteration). I
think we have it now
--
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]