Spark Sql Aggregate Functions With Examples