diff options
author | Reynold Xin <rxin@databricks.com> | 2015-11-25 13:45:41 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-11-25 13:45:41 -0800 |
commit | ecac2835458bbf73fe59413d5bf921500c5b987d (patch) | |
tree | 6aa0e0cb281ff6e3ee9ea3ee10833f68e08a31d9 /sql/core | |
parent | 4e81783e92f464d479baaf93eccc3adb1496989a (diff) | |
download | spark-ecac2835458bbf73fe59413d5bf921500c5b987d.tar.gz spark-ecac2835458bbf73fe59413d5bf921500c5b987d.tar.bz2 spark-ecac2835458bbf73fe59413d5bf921500c5b987d.zip |
Fix Aggregator documentation (rename present to finish).
Diffstat (limited to 'sql/core')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala b/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala index b0cd32b5f7..65117d5824 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala @@ -34,7 +34,7 @@ import org.apache.spark.sql.{DataFrame, Dataset, Encoder, TypedColumn} * def zero: Int = 0 * def reduce(b: Int, a: Data): Int = b + a.i * def merge(b1: Int, b2: Int): Int = b1 + b2 - * def present(r: Int): Int = r + * def finish(r: Int): Int = r * }.toColumn() * * val ds: Dataset[Data] = ... |