haohuaijin opened a new issue, #8874: URL: https://github.com/apache/arrow-datafusion/issues/8874
### Describe the bug As @jackwener said in https://github.com/apache/arrow-datafusion/pull/8833#discussion_r1452107106, we shouldn't extract common sub-expressions for short-circuited operations, such as COALESCE | OR. In #8833, we deal with `CASE WHEN,` but all short-circuited expressions shouldn't be extracted from common sub-expressions. ### To Reproduce _No response_ ### Expected behavior Shouldn't extract common sub-expressions for short-circuited operation. ### Additional context _No response_ -- 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]
