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
{{ message }}
Repository navigation
Add type coercion/validation for Is[Not]True and similar statements #3304
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Once #3301 and #3222 are merged, let's add type validation for IsTrue/False/Unknown to ensure that the left expr is a boolean.
Activity
liukun4515 commentedon Sep 1, 2022
@andygrove we should follow this doc from PG
https://www.postgresql.org/docs/current/functions-comparison.html
liukun4515 commentedon Sep 1, 2022
The left expr must be BOOLEAN DATA TYPE, and can't be casted to the boolean type
Dandandan commentedon Jun 1, 2026
Now rejected during planning