File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments