Describe the bug
As @jackwener said in #8833 (comment), 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