Spark Sql Case When With Multiple Variables