dataproc-templates
dataproc-templates copied to clipboard
[Notebook] Create a parameterize script for OracleToSpanner
Enable OracleToSpanner_notebook to be executed from the command line.
-
Create a script like this to execute the notebook with command line arguments.
-
Update the notebook to use
IS_PARAMETERIZED
variable as a flag for cells containing parameter fields and working directory field. -
The cell containing
IS_PARAMETERIZED = False
must be cell-tagged as parameters -
Update parameterize_script/script_name.py with the script name
-
Update run_notebook.py to include ScriptName
-
Update both README.md files
-
Fix
WORKING_DIRECTORY
in notebook from/python
to/java
Refer this PR: #766