waynexia edited a comment on pull request #792: URL: https://github.com/apache/arrow-datafusion/pull/792#issuecomment-919323882
Sorry for the late reply. I haven't set up the test environment for python yet so I tried a SQL like this and got the expected result. ```SQL SELECT c1 + c2, c1 * c2 from test where c1 > 2; ``` I'll run the python test on local later. But for this case, I'm not sure whether it is related to this change. As `a+b` and `a-b` aren't "common expression". The optimizer should leave the logical plan unchanged. Please correct me if I missed something :D -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org