call saved query in sql warehouse

lizou
Contributor III

in python cursor.execute

can you call a saved query with a parameter? like call a stored procedure in relational db?

https://docs.microsoft.com/en-us/azure/databricks/dev-tools/python-sql-connector#cursor-method

AmanSehgal
Honored Contributor III

Yes you can.

Brandon
New Contributor II

Are there instructions on how to do so?

BilalAslamDbrx
Databricks Employee
Databricks Employee

@lizou​  no not yet. But Python UDFs are coming soon!

Vidula
Databricks Partner

Hi @lizou​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!