How to do python within sql query in Databricks ?

Yagao
New Contributor

How to do python within sql query in Databricks ?

Ybaselto
New Contributor II

You can use python udfs in sql queries:​

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

Vidula
Databricks Partner

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!