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

Reply via email to