I was running some shell script in azure databricks using %sh magic command. I have a requirement to pass few arguments to that shell script. I was using Scala as my primary language.
I have declared few variables in Scala and passing those variables to other notebook where I am having shell script in %sh in one cell. But I was not able to use those variables in shell script. Is there any way I can do this?