Fix Aggregator documentation (rename present to finish).
This commit is contained in:
parent
4e81783e92
commit
ecac283545
|
@ -34,7 +34,7 @@ import org.apache.spark.sql.{DataFrame, Dataset, Encoder, TypedColumn}
|
||||||
* def zero: Int = 0
|
* def zero: Int = 0
|
||||||
* def reduce(b: Int, a: Data): Int = b + a.i
|
* def reduce(b: Int, a: Data): Int = b + a.i
|
||||||
* def merge(b1: Int, b2: Int): Int = b1 + b2
|
* def merge(b1: Int, b2: Int): Int = b1 + b2
|
||||||
* def present(r: Int): Int = r
|
* def finish(r: Int): Int = r
|
||||||
* }.toColumn()
|
* }.toColumn()
|
||||||
*
|
*
|
||||||
* val ds: Dataset[Data] = ...
|
* val ds: Dataset[Data] = ...
|
||||||
|
|
Loading…
Reference in a new issue