pyspark.sql.udtf.UserDefinedTableFunction#
- class pyspark.sql.udtf.UserDefinedTableFunction(func, returnType, name=None, evalType=300, deterministic=False)[source]#
User-defined table function in Python
New in version 3.5.0.
Notes
The constructor of this class is not supposed to be directly called. Use
pyspark.sql.functions.udtf()
to create this instance.This API is evolving.
Methods
Updates UserDefinedTableFunction to deterministic.
Attributes