We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc3ac0f commit cbe7c71Copy full SHA for cbe7c71
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregates.scala
@@ -340,7 +340,7 @@ case class ApproxCountDistinctMergeFunction(
340
hyperLogLog.addAll(evaluatedExpr.asInstanceOf[HyperLogLog])
341
}
342
343
- override def eval(input: Row): Any = hyperLogLog.cardinality().toInt
+ override def eval(input: Row): Any = hyperLogLog.cardinality()
344
345
346
case class SumFunction(expr: Expression, base: AggregateExpression) extends AggregateFunction {
0 commit comments