snowflake.snowpark.functions.call_table_function¶
- snowflake.snowpark.functions.call_table_function(function_name: str, *args: Union[Column, None, bool, int, float, str, bytearray, Decimal, date, datetime, time, bytes, list, tuple, dict], **kwargs: Union[Column, None, bool, int, float, str, bytearray, Decimal, date, datetime, time, bytes, list, tuple, dict]) TableFunctionCall[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/functions.py#L7173-L7192)¶
Invokes a Snowflake table function, including system-defined table functions and user-defined table functions.
It returns a
TableFunctionCall()so you can specify the partition clause.- Parameters:
function_name – The name of the table function.
args – The positional arguments of the table function.
**kwargs – The named arguments of the table function. Some table functions (e.g.,
flatten) have named arguments instead of positional ones.
- Example::