Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21054#discussion_r185407606
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/Average.scala
---
@@ -85,4 +67,28 @@ case class Average(child: Expression) extends
DeclarativeAggregate with Implicit
case _ =>
Cast(sum, resultType) / Cast(count, resultType)
}
+
+ def updateExpressionsDef: Seq[Expression] = Seq(
--- End diff --
How about `doUpdateExpressions`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]