Skip to content

Commit

Permalink
SPARK-45959
Browse files Browse the repository at this point in the history
  • Loading branch information
ashahid committed Nov 24, 2023
1 parent 10a76ba commit c95b35b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class ExtractPythonUDFsSuite extends SparkPlanTest with SharedSparkSession {
.withColumn("d", col("c"))
val pythonEvalNodes4 = collectBatchExec(df4.queryExecution.executedPlan)
assert(pythonEvalNodes4.size == 1)
assert(pythonEvalNodes4.head.udfs.size == 2)
assert(pythonEvalNodes4.head.udfs.size == 1)

val df5 = df.withColumns(Seq("c", "d"),
Seq(batchedNondeterministicPythonUDF(col("a")), batchedNondeterministicPythonUDF(col("a"))))
Expand Down

0 comments on commit c95b35b

Please sign in to comment.