Skip to content

Commit ea0e91b

Browse files
committed
Remove RuntimeReplaceable
1 parent 0278dea commit ea0e91b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvalHelper.scala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ trait ExpressionEvalHelper extends GeneratorDrivenPropertyChecks {
4141
}
4242

4343
protected def checkEvaluation(
44-
originalExpr: => Expression, expected: Any, inputRow: InternalRow = EmptyRow): Unit = {
45-
val expression = originalExpr match {
46-
case replaceable: RuntimeReplaceable => replaceable.replaced
47-
case _ => originalExpr
48-
}
49-
44+
expression: => Expression, expected: Any, inputRow: InternalRow = EmptyRow): Unit = {
5045
val catalystValue = CatalystTypeConverters.convertToCatalyst(expected)
5146
checkEvaluationWithoutCodegen(expression, catalystValue, inputRow)
5247
checkEvaluationWithGeneratedMutableProjection(expression, catalystValue, inputRow)

0 commit comments

Comments
 (0)