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
Use has_true() short-circuit in CASE WHEN evaluation
In multi-branch CASE expressions, later branches commonly match no rows.
Using has_true() avoids a full popcount in these cases by short-circuiting
on the first true value found.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments