snowflake.snowpark.table_function.TableFunctionCall

class snowflake.snowpark.table_function.TableFunctionCall(func_name: Union[str, Iterable[str]], *func_arguments: Union[snowflake.snowpark.column.Column, str], **func_named_arguments: Union[snowflake.snowpark.column.Column, str])[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/table_function.py#L23-L132)

Bases: object

Represents a table function call. A table function call has the function names, positional arguments, named arguments and the partitioning information.

The constructor of this class is not supposed to be called directly. Instead, use call_table_function(), which will create an instance of this class. Or use table_function() to create a Callable object and call it to create an instance of this class.

Methods

alias(*aliases)

Alias the output columns from the output of this table function call.

as_(*aliases)

Alias the output columns from the output of this table function call.

over(*[, partition_by, order_by])

Specify the partitioning plan for this table function call when you lateral join this table function.

Attributes

name

The table function name

arguments

The positional arguments used to call this table function.

named_arguments

The named arguments used to call this table function.

语言: 中文