udf() accepts several arguments as input so you can tune a Python function and notify teradataml when to use the function.
Argument | Required/Optional | Type | Description |
---|---|---|---|
returns | Optional | teradatasqlalchemy types object | Specifies the output column type. When not specified, default is VARCHAR(1024). |
env_name | Optional | string or object of class UserEnv | (Applicable for use with Apply table operator) Specifies the name of the remote user environment or an object of class UserEnv for VantageCloud Lake. |
delimiter | Optional | One-character string | Specifies a delimiter to use when reading columns from a row and writing result columns. Default is comma (,). If data being processed contains a comma, use a different delimiter. |
quotechar | Optional | One-character string | Specifies a character that forces input of the user function to be quoted using this specified character. |