We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38fab9 commit 55406deCopy full SHA for 55406de
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/ScalaUdf.scala
@@ -23,9 +23,6 @@ import org.apache.spark.util.ClosureCleaner
23
case class ScalaUdf(function: AnyRef, dataType: DataType, children: Seq[Expression])
24
extends Expression {
25
26
- // Clean function when not called with default no-arg constructor.
27
- if (function != null) { ClosureCleaner.clean(function) }
28
-
29
type EvaluatedType = Any
30
31
def nullable = true
0 commit comments