v.18.12Improvement
CASE Expression Now Allows Omitting ELSE Clause
For aCASEexpression with conditions, you can now omitELSE, which is equivalent toELSE NULL. #2920
Why it matters
This feature simplifies writingCASE expressions by removing the need to explicitly specify ELSE NULL when no alternate case is needed, reducing verbosity and improving code readability.How to use it
When writing aCASE expression with conditions, users can simply omit the ELSE clause. The expression will implicitly assume ELSE NULL without any additional syntax.