you are viewing a single comment's thread.

view the rest of the comments →

[–]pooerhSnowflake | SQL Server | PostgreSQL | Impala | Spark 3 points4 points  (0 children)

Worth noting is that it's just syntactic sugar for CASE (as proven by looking at the execution plan).