Skip to content

Commit

Permalink
Revert a change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ueshin committed May 28, 2014
1 parent fc3ac0f commit cbe7c71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ case class ApproxCountDistinctMergeFunction(
hyperLogLog.addAll(evaluatedExpr.asInstanceOf[HyperLogLog])
}

override def eval(input: Row): Any = hyperLogLog.cardinality().toInt
override def eval(input: Row): Any = hyperLogLog.cardinality()
}

case class SumFunction(expr: Expression, base: AggregateExpression) extends AggregateFunction {
Expand Down

0 comments on commit cbe7c71

Please sign in to comment.