You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/04/05 04:39:04 UTC

[GitHub] [spark] huaxingao commented on a change in pull request #28120: [SPARK-31349][SQL][DOCS] Sql ref buildin-aggregate

huaxingao commented on a change in pull request #28120: [SPARK-31349][SQL][DOCS] Sql ref buildin-aggregate
URL: https://github.com/apache/spark/pull/28120#discussion_r403644510
 
 

 ##########
 File path: docs/sql-ref-functions-builtin-aggregate.md
 ##########
 @@ -19,4 +19,626 @@ license: |
   limitations under the License.
 ---
 
-Aggregate functions
\ No newline at end of file
+Spark SQL provides build-in Aggregate functions defines in dataset API and SQL interface. Aggregate functions
+operate on a group of rows and return a single value.
+
+Spark SQL Aggregate functions are grouped as <code>agg_funcs</code> in spark SQL. Below is the list of functions.
+
+**Note:** Every below function has another signature which take String as a column name instead of Column.
+
+* Table of contents
+{:toc}
+<table class="table">
+  <thead>
+    <tr><th style="width:25%">Function</th><th>Parameters</th><th>Description</th></tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td> <b>{avg | mean}</b>(<i>e: Column</i>)</td>
 
 Review comment:
   Could you list the functions in alphabetical order?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org