You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ashish Tadose <as...@gmail.com> on 2016/10/03 15:41:30 UTC
Document listing spark sql aggregate functions
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