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:ย 

Using widget values in a shell script cell

fijoy
Contributor

I have a Databricks notebook containing a mix of SQL, Python, and shell script cells. I know I can retrieve and use values of widgets in Python cells using dbutils.widgets.get('key') and in SQL cells using ${key}.

How can I use widget values in shell script cells?

1 ACCEPTED SOLUTION

Accepted Solutions

fijoy
Contributor

For those interested, I found and am for now using this workaround:

https://stackoverflow.com/questions/54662605/how-to-pass-a-python-variables-to-shell-script-in-azure...

while I wait for a more direct method.

View solution in original post

1 REPLY 1

fijoy
Contributor

For those interested, I found and am for now using this workaround:

https://stackoverflow.com/questions/54662605/how-to-pass-a-python-variables-to-shell-script-in-azure...

while I wait for a more direct method.

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