Skip to content

Commit

Permalink
Reset the change for real this time.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jul 27, 2015
1 parent 0f57c55 commit 3063788
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ trait ExpressionEvalHelper {
}

protected def checkEvalutionWithUnsafeProjection(
expression: Expression,
expected: Any,
inputRow: InternalRow = EmptyRow): Unit = {
expression: Expression,
expected: Any,
inputRow: InternalRow = EmptyRow): Unit = {

val plan = generateProject(
GenerateUnsafeProjection.generate(Alias(expression, s"Optimized($expression)")() :: Nil),
Expand All @@ -184,9 +184,9 @@ trait ExpressionEvalHelper {
}

protected def checkDoubleEvaluation(
expression: => Expression,
expected: Spread[Double],
inputRow: InternalRow = EmptyRow): Unit = {
expression: => Expression,
expected: Spread[Double],
inputRow: InternalRow = EmptyRow): Unit = {
checkEvaluationWithoutCodegen(expression, expected)
checkEvaluationWithGeneratedMutableProjection(expression, expected)
checkEvaluationWithOptimization(expression, expected)
Expand Down

0 comments on commit 3063788

Please sign in to comment.