Skip to content

Commit 33280bc

Browse files
committed
Fix test.
1 parent ccc72e1 commit 33280bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateUnsafeProjection.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ object GenerateUnsafeProjection extends CodeGenerator[Seq[Expression], UnsafePro
327327
// Evaluate all the subexpression.
328328
val evalSubexpr = ctx.subexprFunctions.mkString("\n")
329329

330+
ctx.currentVars = null
330331
val writeExpressions =
331332
writeExpressionsToBuffer(ctx, ctx.INPUT_ROW, exprEvals, exprTypes, holder, isTopLevel = true)
332333

0 commit comments

Comments
 (0)