Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Reset the change for real this time.
  • Loading branch information
rxin committed Jul 27, 2015
commit 3063788608a75c23c7f0c5691934ba3566804849
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