cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to do python within sql query in Databricks ?

Yagao
New Contributor

How to do python within sql query in Databricks ?

2 REPLIES 2

Ybaselto
New Contributor II

You can use python udfs in sql queries:โ€‹

https://docs.databricks.com/spark/latest/spark-sql/udf-python.html

Vidula
Honored Contributor

Hi @Ya Gaoโ€‹ 

Hope you are well. Just wanted to see if you were able to find an answer to your question and would you like to mark an answer as best? It would be really helpful for the other members too.

Cheers!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.