From 6a4b2c227553a472522a4d3f02e389141593497d Mon Sep 17 00:00:00 2001 From: Jungtaek Lim Date: Fri, 1 Apr 2022 19:07:21 +0900 Subject: [PATCH] [SPARK-38333][SQL][3.2][FOLLOWUP] fix compilation error --- .../catalyst/expressions/SubexpressionEliminationSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/SubexpressionEliminationSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/SubexpressionEliminationSuite.scala index 4b353cdbbffea..b414019ea865b 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/SubexpressionEliminationSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/SubexpressionEliminationSuite.scala @@ -395,7 +395,7 @@ class SubexpressionEliminationSuite extends SparkFunSuite with ExpressionEvalHel test("SPARK-38333: PlanExpression expression should skip addExprTree function in Executor") { try { // suppose we are in executor - val context1 = new TaskContextImpl(0, 0, 0, 0, 0, null, null, null, cpus = 0) + val context1 = new TaskContextImpl(0, 0, 0, 0, 0, null, null, null) TaskContext.setTaskContext(context1) val equivalence = new EquivalentExpressions