This post is about how to exit and notebook and return a variable to the calling process.
It should be noted that Databricks can only return string values.
First you need to setup dbutils.
- str = "<SOME_VALUE>"
- dbutils.notebook.exit(str)
A place for tutorials on programming and other such works.
This post is about how to exit and notebook and return a variable to the calling process.
It should be noted that Databricks can only return string values.
First you need to setup dbutils.
- str = "<SOME_VALUE>"
- dbutils.notebook.exit(str)