spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Tadose <ashishtad...@gmail.com>
Subject Document listing spark sql aggregate functions
Date Mon, 03 Oct 2016 15:41:30 GMT
Hi Team,

Is there a documentation page which lists all the aggregation functions
supported in Spark sql query language.

Same as listed DataFrame aggregate functions as below
https://spark.apache.org/docs/1.6.2/api/scala/index.html#org.apache.spark.sql.functions$

I was looking for spark sql query aggregate function to replace df
operation phase using approxCountDistinct().

I could find it in the source as below but not it doc.
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala

Let me know if its there in the docs and missed it.

Thanks,
Ashish

Mime
View raw message