Github user setjet commented on a diff in the pull request:
https://github.com/apache/spark/pull/18113#discussion_r153020474
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/typedaggregators.scala
---
@@ -38,13 +38,11 @@ class TypedSumDouble[IN](val f: IN => Double) extends
Aggregator[IN, Double, Dou
// Java api support
def this(f: MapFunction[IN, java.lang.Double]) = this((x: IN) =>
f.call(x).asInstanceOf[Double])
-
--- End diff --
removed some whitelines to make functions more consistent
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]