PythonUDF
Examples
Python
python_udf = PythonUDF(
name="some_python_udf",
returns="string",
runtime_version="3.8",
handler="process_data",
args=[{"name": "input_data", "data_type": "string"}],
as_="process_data_function",
comment="This function processes data.",
copy_grants=False,
external_access_integrations=["s3_integration"],
imports=["pandas", "numpy"],
null_handling="CALLED_ON_NULL_INPUT",
owner="SYSADMIN",
packages=["pandas", "numpy"],
secrets={"api_key": "secret_value"},
secure=False,
volatility="IMMUTABLE"
)YAML
Fields
Last updated