Skip to content

featurebyte.UserDefinedFunction.update_sql_function_name

update_sql_function_name(
sql_function_name: str
)

Description

Update the SQL function name of the user-defined function.

Parameters

  • sql_function_name: str
    The SQL function name of the user-defined function (which is used in SQL queries).

Examples

>>> cos_udf = catalog.get_user_defined_function("cos")
>>> cos_udf.update_sql_function_name("sin")
>>> cos_udf.sql_function_name
'sin'