cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Are Python External UDFs supported in Databricks SQL warehouse?

AnubhavG
Contributor

I tried running a python UDF in the Databricks SQL warehouse but it did not run and gave the "Python UDF is not supported" error.

Can i get a clear picture if the Python External UDFs are supported or not?

1 ACCEPTED SOLUTION

Accepted Solutions

youssefmrini
Databricks Employee
Databricks Employee

It's a private preview and It will be supported only in PRO SQL Warehouse and the Serverless SQL Warehouse

View solution in original post

8 REPLIES 8

PriyaAnanthram
Contributor III

Isn't it released for the public preview yet?

In a webinar, I heard it is planned for Q3โ€‹.

โ€‹

โ€‹

LandanG
Databricks Employee
Databricks Employee

Hi @Anubhav Gupta โ€‹, 

UDF's are currently still in private preview with the public preview being pushed back a bit. You can ask your Databricks rep/SA to see if you're eligible (due to early stage technical requirements) for the preview

Thanks for the reply @Landan Georgeโ€‹ 

Also Do we have the capability of calling an API using Python UDF in private preview?

If not then ,Is there any way we can call an API in Databricks SQL by any chance?

LandanG
Databricks Employee
Databricks Employee

@Anubhav Guptaโ€‹ As of right now there is no network connectivity for SQL UDFs (so no API calls) but that may come later down the line.

I'm not sure if there's a way to use APIs in DB SQL but depending on your use case there might be a workaround using different features.

@Landan Georgeโ€‹  The use case is I want to tokenize/encrypt the SQL data using the API call.

Is there a way I can achieve this.

youssefmrini
Databricks Employee
Databricks Employee

It's a private preview and It will be supported only in PRO SQL Warehouse and the Serverless SQL Warehouse

Ajay-Pandey
Esteemed Contributor III

Thanks

Ajay Kumar Pandey

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group