Snowflake Sql Case Statement Null And Undefined