Spark Sql Group By Month