pyspark.sql.udtf.UserDefinedTableFunction¶
- 
class pyspark.sql.udtf.UserDefinedTableFunction(func: Type, returnType: Union[pyspark.sql.types.StructType, str], name: Optional[str] = None, evalType: int = 300, deterministic: bool = 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