Attempting to create a Python UDF and receiving an error stating it's not supported in my environment.
running on SQL Serverless Cluster - Preview (v 2025.16)
[FEATURE UNAVAILABLE]
Python UDTF is not supported in your environment.
To use this feature, please contact Databricks Support. SQLSTATE: 56038
create function _rrr_taxonomy_test()
RETURNS TABLE(dept string, cat string, subcat string)
LANGUAGE PYTHON
AS
$$
s = '''select
custom_department as dept,
custom_category as cat,
coalesce(custom_sub_category, '') as subcat
from item'''
return spark.sql(s)
$$