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:
- Name
-
PythonFunction
- DataType
- Children Expressions
- Eval Type
-
udfDeterministic
flag - Result
ExprId
PythonUDF
is created when:
SparkConnectPlanner
is requested to transformPythonUDFUserDefinedPythonFunction
is requested to builder
evalType¶
PythonUDF
is given an eval type when created.
nodePatterns¶
nodePatterns
is PYTHON_UDF.
nullable¶
nullable
is always true
.