I'm trying to switch between %python variables and %sql variables in Databricks SQL notebook.
Let's imagine this situation -
%python
url_var = 'https://www.example.org/localdata_2020_01_01.csv'
%sql
SET url_sql_var = $(url_var)
-- This doesn't work as expected
But this doesn't work because I'm not sure how to switch between Python & SQL variables in Databricks SQL notebooks.
Kindly help.