Spark Sql Case When Greater