__Databricks_Su
Databricks Employee
Databricks Employee

Executing NotebookB from NotebookA with arguments, you would use the following syntax within NotebookA to define the arguments:

%run path/to/NotebookB $VarA="ValueA" $VarB="ValueB"

Within NotebookB, you'd use the following to receive the argument value:

Scala and Python:

print getArgument("VariableName", "DefaultValue")   

SQL (No default value is supported):

select * from $VariableName