You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Case statement in where condition is removed by magic parameters
For some reason, the case statement is removed from a where condition.
```
SELECT a FROM users u WHERE status = (CASE WHEN u.id = 1 THEN u.status_1 ELSE u.status_2 END)
=>
SELECT a FROM users u
```
This is a failing test showcasing the issue.
0 commit comments