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: 

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!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now