Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2015 01:26 PM
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