Skip to content

Commit

Permalink
Fix: fix typo, remove whitelines
Browse files Browse the repository at this point in the history
  • Loading branch information
karuppayya committed Jun 17, 2020
1 parent da7c928 commit 5f05aa7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ case class HashAggregateExec(
// only have DeclarativeAggregate
val functions = aggregateExpressions.map(_.aggregateFunction.asInstanceOf[DeclarativeAggregate])
val inputAttrs = functions.flatMap(_.aggBufferAttributes) ++ inputAttributes

// To individually generate code for each aggregate function, an element in `updateExprs` holds
// all the expressions for the buffer of an aggregation function.
val updateExprs = aggregateExpressions.map { e =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class WholeStageCodegenSuite extends QueryTest with SharedSparkSession
assert(partAggNode.isDefined,
"No HashAggregate node with partial aggregate expression found")
assert(partAggNode.get.metrics("partialAggSkipped").value == data.size,
"Partial aggregation got triggrered in partial hash aggregate node")
"Partial aggregation got triggered in partial hash aggregate node")
}
}

Expand Down

0 comments on commit 5f05aa7

Please sign in to comment.