Skip to content

PythonUDF Expression

PythonUDF is an Expression that is unevaluable and a NonSQLExpression.

PythonUDF is a UserDefinedExpression expression.

Creating Instance

PythonUDF takes the following to be created:

PythonUDF is created when:

evalType

PythonUDF is given an eval type when created.

nodePatterns

TreeNode
nodePatterns: Seq[TreePattern]

nodePatterns is part of the TreeNode abstraction.

nodePatterns is PYTHON_UDF.

nullable

Expression
nullable: Boolean

nullable is part of the Expression abstraction.

nullable is always true.